2016-06-14 11:11:37 +00:00
|
|
|
vec4 scale(sampler2D image)
|
2016-04-28 20:07:05 +00:00
|
|
|
{
|
|
|
|
vec2 texCoord = vec2(gl_FragCoord.x, uResolution.y - gl_FragCoord.y) / uResolution;
|
|
|
|
|
2016-06-14 11:11:37 +00:00
|
|
|
return texture(image, texCoord);
|
2016-04-28 20:07:05 +00:00
|
|
|
}
|