Pixel-Composer/shaders/sh_rd_add/sh_rd_add.fsh

10 lines
184 B
Text
Raw Normal View History

2024-01-10 06:36:33 +01:00
//
// Simple passthrough fragment shader
//
varying vec2 v_vTexcoord;
varying vec4 v_vColour;
void main() {
gl_FragColor = v_vColour * texture2D( gm_BaseTexture, v_vTexcoord );
}