mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-26 15:27:19 +00:00
14 lines
241 B
GLSL
14 lines
241 B
GLSL
#version 300 es
|
|
|
|
layout(location = 0) in vec2 vertex;
|
|
out highp vec2 uv;
|
|
|
|
uniform highp vec2 desktopSize;
|
|
uniform mat3x2 transform;
|
|
|
|
void main()
|
|
{
|
|
gl_Position = vec4(transform * vec3(vertex, 1.0), 0.0, 1.0);
|
|
uv = vertex / desktopSize;
|
|
}
|