pathfinder/resources/shaders/gl3/tile_copy.fs.glsl

28 lines
353 B
GLSL

#version {{version}}
// Automatically generated from files in pathfinder/shaders/. Do not edit!
precision highp float;
precision highp sampler2D;
uniform vec2 uFramebufferSize;
uniform sampler2D uSrc;
out vec4 oFragColor;
void main(){
vec2 texCoord = gl_FragCoord . xy / uFramebufferSize;
oFragColor = texture(uSrc, texCoord);
}