SameBoy/Shaders/NearestNeighbor.fsh

5 lines
138 B
GLSL

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