zenyx-engine-telemetry/shaders/shader.vert

16 lines
407 B
GLSL
Raw Permalink Normal View History

2025-04-16 01:24:10 +00:00
#version 450
layout(location = 0) in vec3 position;
layout(location = 1) in vec3 color;
layout(location = 3) in vec2 tex_coords;
layout(location = 0) out vec2 tex_coord;
layout(set = 0, binding = 0) uniform UniformBufferObject {
mat4x4 projection;
} view;
2025-04-16 01:24:10 +00:00
void main() {
gl_Position = view.projection * vec4(position, 1.0);
tex_coord = tex_coords;
// gl_Position
// out_color = color;
2025-04-16 01:24:10 +00:00
}