handmade/glsl/camera.v.glsl
Bubblegumdrop 9e957d466f Client and Server tweaks. This commit breaks the Client.
Server listens correctly with threads and stdin reader thread.

Client does nothing currently gutting UDP_Write for a UDPbase class
introduced in this commit.
2022-01-08 18:59:40 -05:00

18 lines
314 B
GLSL

/* vim: set ft=c: */
#version 440 core
layout(location = 0) in vec3 aPos;
layout(location = 1) in vec2 aTexCoord;
out vec2 iTexCoord;
uniform mat4 Model;
uniform mat4 View;
uniform mat4 Projection;
void main(void) {
gl_Position = Projection * View * Model * vec4(aPos, 1.0f);
iTexCoord = aTexCoord;
}