Pixel-Composer/shaders/sh_solid/sh_solid.fsh

10 lines
206 B
Text
Raw Normal View History

2022-09-21 11:09:40 +07:00
//
// Simple passthrough fragment shader
//
varying vec2 v_vTexcoord;
varying vec4 v_vColour;
void main() {
2024-01-08 14:10:50 +07:00
gl_FragColor = vec4(v_vColour.rgb, texture2D( gm_BaseTexture, v_vTexcoord ).a * v_vColour.a);
2022-09-21 11:09:40 +07:00
}