mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-12-11 00:31:28 -05:00
21 lines
367 B
Text
21 lines
367 B
Text
varying vec2 uv;
|
|
uniform sampler2D tex;
|
|
void main ()
|
|
{
|
|
vec4 v_1;
|
|
vec4 tmpvar_2;
|
|
tmpvar_2 = texture2D (tex, uv);
|
|
vec4 tmpvar_3;
|
|
tmpvar_3 = tmpvar_2;
|
|
v_1 = tmpvar_3;
|
|
vec2 tmpvar_4;
|
|
tmpvar_4 = v_1.yx;
|
|
v_1.xy = tmpvar_4.xy.xy;
|
|
float tmpvar_5;
|
|
tmpvar_5 = -(v_1.x);
|
|
v_1.x = tmpvar_5;
|
|
vec4 tmpvar_6;
|
|
tmpvar_6 = v_1;
|
|
gl_FragColor = tmpvar_6;
|
|
}
|
|
|