summaryrefslogtreecommitdiff
path: root/assets/vertex.glsl
diff options
context:
space:
mode:
authorFreya Murphy <freya@freyacat.org>2025-12-04 14:55:24 -0500
committerFreya Murphy <freya@freyacat.org>2025-12-04 14:55:24 -0500
commitb56c621bf7c8689ba4b5d9fd64a6d69387f705df (patch)
treeabaa9aa9e41a04f06a42913472f01a31829a756c /assets/vertex.glsl
parentinitial chunk rendering (diff)
downloadvoxel-b56c621bf7c8689ba4b5d9fd64a6d69387f705df.tar.gz
voxel-b56c621bf7c8689ba4b5d9fd64a6d69387f705df.tar.bz2
voxel-b56c621bf7c8689ba4b5d9fd64a6d69387f705df.zip
add ubos
Diffstat (limited to 'assets/vertex.glsl')
-rwxr-xr-xassets/vertex.glsl6
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);