SameBoy/Shaders/NearestNeighbor.fsh

5 lines
84 B
GLSL

vec4 scale(sampler2D image, vec2 position)
{
return texture(image, position);
}