sideros/assets/shaders/shader.vert
Lorenzo Torres 16a2a40418 moved rendering to a system.
To ensure that the rendering system is being run in the main thread, I
added the concept of "Sync systems", so that when a system group is
created it's possible to specify whether it's possible to run it on a
separate thread or not.
2025-03-29 16:15:56 +01:00

11 lines
180 B
GLSL

#version 450
layout(location = 0) in vec3 vertPos;
layout (binding = 0) uniform Uniform {
mat4 proj;
} ubo;
void main() {
gl_Position = ubo.proj * vec4(vertPos, 1.0);
}