mirror of
https://github.com/moonlight-stream/moonlight-qt
synced 2024-12-24 01:53:08 +00:00
12 lines
226 B
GLSL
12 lines
226 B
GLSL
|
precision mediump float;
|
||
|
uniform sampler2D uTexture;
|
||
|
varying vec2 vTexCoord;
|
||
|
|
||
|
void main() {
|
||
|
vec4 abgr = texture2D(uTexture, vTexCoord);
|
||
|
|
||
|
gl_FragColor = abgr;
|
||
|
gl_FragColor.r = abgr.b;
|
||
|
gl_FragColor.b = abgr.r;
|
||
|
}
|