Pixel-Composer/shaders/sh_solid/sh_solid.fsh
2024-01-08 14:10:50 +07:00

10 lines
206 B
GLSL

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