Pixel-Composer/shaders/sh_cross_histogram/sh_cross_histogram.fsh
2024-05-20 10:16:05 +07:00

11 lines
215 B
GLSL

varying vec2 v_vTexcoord;
varying vec4 v_vColour;
uniform vec2 dimension;
uniform sampler2D surface;
void main() {
vec2 tx = 1. / dimension;
gl_FragColor = texture2D( gm_BaseTexture, v_vTexcoord );
}