Pixel-Composer/shaders/sh_BGR/sh_BGR.fsh
2023-05-03 21:42:17 +02:00

11 lines
194 B
GLSL

//
// Simple passthrough fragment shader
//
varying vec2 v_vTexcoord;
varying vec4 v_vColour;
void main() {
vec4 clr = texture2D( gm_BaseTexture, v_vTexcoord );
gl_FragColor = clr.bgra;
}