SameBoy/Shaders/NearestNeighbor.fsh

5 lines
131 B
Plaintext
Raw Normal View History

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