SameBoy/Shaders/NearestNeighbor.fsh

5 lines
138 B
Plaintext
Raw Normal View History

STATIC vec4 scale(sampler2D image, vec2 position, vec2 input_resolution, vec2 output_resolution)
{
2018-06-15 15:08:54 +00:00
return texture(image, position);
}