mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-25 09:08:22 -05:00
21 lines
353 B
Text
21 lines
353 B
Text
uniform sampler2D tex;
|
|
varying vec2 uv;
|
|
void main ()
|
|
{
|
|
vec4 v;
|
|
vec4 tmpvar_1;
|
|
tmpvar_1 = texture2D (tex, uv);
|
|
vec4 tmpvar_2;
|
|
tmpvar_2 = tmpvar_1;
|
|
v = tmpvar_2;
|
|
vec2 tmpvar_3;
|
|
tmpvar_3 = v.yx;
|
|
v.xy = tmpvar_3.xy.xy;
|
|
float tmpvar_4;
|
|
tmpvar_4 = -(v.x);
|
|
v.x = tmpvar_4;
|
|
vec4 tmpvar_5;
|
|
tmpvar_5 = v;
|
|
gl_FragColor = tmpvar_5;
|
|
}
|
|
|