Pixel-Composer/shaders/sh_default/sh_default.fsh

11 lines
184 B
Plaintext
Raw Normal View History

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