1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-03-28 08:37:12 +00:00
2023-02-25 11:03:39 -08:00

14 lines
220 B
GLSL

#version 120
uniform vec2 scaling = vec2(1.0, 1.0);
varying vec2 uv;
#include "lib/core/vertex.h.glsl"
void main()
{
gl_Position = vec4(gl_Vertex.xy, 0.0, 1.0);
uv = (gl_Position.xy * 0.5 + 0.5) * scaling;
}