Files
rust-engine/shaders/line.vert
2019-07-27 00:13:20 +02:00

13 lines
262 B
GLSL

#version 450
layout(location = 0) in vec3 position;
layout(push_constant) uniform LinePushConstants {
mat4 model;
mat4 view;
mat4 projection;
} push;
void main() {
gl_Position = push.projection * push.view * push.model * vec4(position, 1.0);
}