mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-12-11 00:31:28 -05:00
13 lines
214 B
Text
13 lines
214 B
Text
uniform sampler2D tex;
|
|
varying vec2 uv;
|
|
void main ()
|
|
{
|
|
vec4 v_1;
|
|
vec4 tmpvar_2;
|
|
tmpvar_2 = texture2D (tex, uv);
|
|
v_1.zw = tmpvar_2.zw;
|
|
v_1.y = tmpvar_2.x;
|
|
v_1.x = -(tmpvar_2.y);
|
|
gl_FragColor = v_1;
|
|
}
|
|
|