megapixels/data/blit.frag

12 lines
161 B
GLSL
Raw Normal View History

#ifdef GL_ES
2021-04-15 15:14:20 +02:00
precision mediump float;
#endif
2021-04-15 15:14:20 +02:00
uniform sampler2D texture;
varying vec2 uv;
void main() {
2021-04-26 10:09:04 +02:00
gl_FragColor = vec4(texture2D(texture, uv).rgb, 1);
2021-04-15 15:14:20 +02:00
}