Pixel-Composer/shaders/sh_rd_add/sh_rd_add.fsh
2024-01-10 12:36:33 +07:00

9 lines
184 B
GLSL

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