mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-01 03:21:41 +00:00
14 lines
220 B
GLSL
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;
|
|
}
|