diff options
| author | Freya Murphy <freya@freyacat.org> | 2025-12-04 14:55:24 -0500 |
|---|---|---|
| committer | Freya Murphy <freya@freyacat.org> | 2025-12-04 14:55:24 -0500 |
| commit | b56c621bf7c8689ba4b5d9fd64a6d69387f705df (patch) | |
| tree | abaa9aa9e41a04f06a42913472f01a31829a756c /assets/vertex.glsl | |
| parent | initial chunk rendering (diff) | |
| download | voxel-b56c621bf7c8689ba4b5d9fd64a6d69387f705df.tar.gz voxel-b56c621bf7c8689ba4b5d9fd64a6d69387f705df.tar.bz2 voxel-b56c621bf7c8689ba4b5d9fd64a6d69387f705df.zip | |
add ubos
Diffstat (limited to 'assets/vertex.glsl')
| -rwxr-xr-x | assets/vertex.glsl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/assets/vertex.glsl b/assets/vertex.glsl index a0af427..d14d852 100755 --- a/assets/vertex.glsl +++ b/assets/vertex.glsl @@ -1,12 +1,12 @@ -#version 330
+#version 330 core
in vec3 position;
in uint data;
-flat out uint pass_data;
-
uniform mat4 proj_view;
+flat out uint pass_data;
+
void main(void)
{
gl_Position = proj_view * vec4(position, 1.0);
|