mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-23 05:57:19 +00:00
13 lines
174 B
GLSL
13 lines
174 B
GLSL
#version 300 es
|
|
|
|
in highp vec2 uv;
|
|
in highp vec2 sz;
|
|
out highp vec4 color;
|
|
|
|
uniform sampler2D sampler1;
|
|
|
|
void main()
|
|
{
|
|
color = texelFetch(sampler1, ivec2(uv * sz), 0);
|
|
}
|