6 lines
160 B
Plaintext
6 lines
160 B
Plaintext
|
vec4 filter(sampler2D image)
|
||
|
{
|
||
|
vec2 texCoord = vec2(gl_FragCoord.x, uResolution.y - gl_FragCoord.y) / uResolution;
|
||
|
|
||
|
return texture2D(image, texCoord);
|
||
|
}
|