Pixel-Composer/shaders/sh_solid/sh_solid.fsh

10 lines
192 B
Plaintext
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() {
gl_FragColor = vec4(v_vColour.rgb, texture2D( gm_BaseTexture, v_vTexcoord ).a);
}