Pixel-Composer/shaders/sh_draw_downsample/sh_draw_downsample.fsh

11 lines
184 B
Plaintext
Raw Normal View History

2023-03-05 07:16:44 +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 );
}