You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openmw/files/shaders/fullscreen_tri_vertex.glsl

12 lines
166 B
GLSL

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