Pixel-Composer/shaders/sh_default/sh_default.fsh

10 lines
184 B
Text
Raw Normal View History

2023-06-25 20:12:17 +02:00
//
// Simple passthrough fragment shader
//
varying vec2 v_vTexcoord;
varying vec4 v_vColour;
2023-09-15 20:12:02 +02:00
void main() {
2023-06-25 20:12:17 +02:00
gl_FragColor = v_vColour * texture2D( gm_BaseTexture, v_vTexcoord );
}