mirror of
https://github.com/Q3Rally-Team/rallyunlimited-engine.git
synced 2025-02-16 17:21:00 +00:00
18 lines
272 B
GLSL
18 lines
272 B
GLSL
#version 450
|
|
|
|
// 128 bytes
|
|
layout(push_constant) uniform Transform {
|
|
mat4 mvp;
|
|
};
|
|
|
|
layout(location = 0) in vec3 in_position;
|
|
|
|
out gl_PerVertex {
|
|
vec4 gl_Position;
|
|
float gl_PointSize;
|
|
};
|
|
|
|
void main() {
|
|
gl_Position = mvp * vec4(in_position, 1.0);
|
|
gl_PointSize = 1.0;
|
|
}
|