blob: f5353e352f4ec3477401e4ca740f10c65fda9f2c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#version 450
layout(location = 0) in vec3 vertPos;
layout(binding = 0) uniform UniformObject {
mat4 proj;
mat4 view;
mat4 model;
} ubo;
void main() {
gl_Position = ubo.view * ubo.proj * vec4(vertPos, 1.0);
}
|