Pixel-Composer/shaders/sh_draw_downsample/sh_draw_downsample.fsh
2023-03-05 13:16:44 +07:00

11 lines
184 B
GLSL

//
// Simple passthrough fragment shader
//
varying vec2 v_vTexcoord;
varying vec4 v_vColour;
void main()
{
gl_FragColor = v_vColour * texture2D( gm_BaseTexture, v_vTexcoord );
}