mirror of
https://github.com/allemangD/toddcox-visualize.git
synced 2025-11-10 03:52:48 -05:00
14 lines
260 B
GLSL
14 lines
260 B
GLSL
#version 440
|
|
|
|
layout(location=1) uniform float time;
|
|
layout(location=2) uniform mat4 proj;
|
|
layout(location=3) uniform mat4 view;
|
|
|
|
layout(location=0) in vec4 pos;
|
|
|
|
void main() {
|
|
vec3 pos3 = (view * pos).xyz;
|
|
|
|
gl_Position = proj * vec4(pos3, 1.0);
|
|
}
|