Pixel-Composer/shaders/sh_BGR/sh_BGR.fsh

11 lines
194 B
Plaintext
Raw Normal View History

2023-05-03 21:42:17 +02:00
//
// 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;
}