umbra/resources/walrus/cube.vert
Curle a3e89b4e8f
Replace the renderer with a modern, module version. (#7)
* New Vulkan Renderer Module & Associated Fixups
2022-11-26 16:44:16 +00:00

16 lines
337 B
GLSL

#version 450
layout(std140, push_constant) uniform Transform {
mat4 matrix;
} transf;
layout(location = 0) in vec3 in_pos;
layout(location = 1) in vec3 in_normal;
layout(location = 2) in vec2 in_uv;
layout(location = 0) out vec2 texCoord;
void main() {
gl_Position = transf.matrix * vec4(in_pos, 1.0);
texCoord = in_uv;
}