Pixel-Composer/shaders/sh_cross_histogram/sh_cross_histogram.fsh

12 lines
215 B
Plaintext
Raw Normal View History

2024-05-20 05:16:05 +02:00
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 );
}