Pixel-Composer/shaders/sh_solid/sh_solid.fsh
2022-09-21 11:09:40 +07:00

9 lines
192 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);
}