Pixel-Composer/shaders/sh_solid/sh_solid.fsh

10 lines
206 B
Text
Raw Normal View History

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