megapixels/data/blit.frag

12 lines
170 B
GLSL
Raw Normal View History

2021-04-15 15:14:20 +02:00
precision mediump float;
uniform sampler2D texture;
varying vec2 uv;
#define fetch(p) texture2D(texture, p).r
void main() {
gl_FragColor = texture2D(texture, uv);
}