jak-project/game/graphics/opengl_renderer/shaders/eye.vert
2022-03-04 18:22:01 -05:00

10 lines
197 B
GLSL

#version 430 core
layout (location = 0) in vec4 xyst_in;
out vec2 st;
void main() {
gl_Position = vec4((xyst_in.x - 768.f) / 256.f, (xyst_in.y - 768.f) / 256.f, 0, 1);
st = xyst_in.zw;
}