mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-29 02:55:36 -05:00
9 lines
133 B
Text
9 lines
133 B
Text
|
varying vec2 uv;
|
||
|
uniform sampler2D tex;
|
||
|
void main() {
|
||
|
vec4 v = texture2D (tex, uv);
|
||
|
v.xy = v.yx;
|
||
|
v.x = -v.x;
|
||
|
gl_FragColor = v;
|
||
|
}
|