mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-03-23 15:50:20 +00:00
14 lines
239 B
GLSL
14 lines
239 B
GLSL
#version 450
|
|
|
|
layout(push_constant) uniform Push {
|
|
mat4 mvp;
|
|
} push;
|
|
|
|
layout(location = 0) in vec3 aPos;
|
|
|
|
layout(location = 0) out vec2 vLocalPos;
|
|
|
|
void main() {
|
|
vLocalPos = aPos.xz;
|
|
gl_Position = push.mvp * vec4(aPos, 1.0);
|
|
}
|