mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-12-27 07:47:13 +00:00
12 lines
174 B
GLSL
12 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);
|
|
}
|