From 90fb30cf3a92690178e5ad39095f604c2bc50afa Mon Sep 17 00:00:00 2001 From: pryazha Date: Fri, 6 Jun 2025 10:30:01 +0500 Subject: trying to add windows support, also a lot of changes, some ui modifications --- data/shaders/grid.vert | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 data/shaders/grid.vert (limited to 'data/shaders/grid.vert') diff --git a/data/shaders/grid.vert b/data/shaders/grid.vert new file mode 100644 index 0000000..4cb8948 --- /dev/null +++ b/data/shaders/grid.vert @@ -0,0 +1,18 @@ +#version 330 core + +layout(location = 0) in vec3 aposition; +layout(location = 2) in vec2 atexcoords; + +out VSOUT { + vec2 texcoords; +} vsout; + +uniform mat4 projection; +uniform mat4 view; +uniform mat4 world; + +void main(void) +{ + vsout.texcoords = atexcoords; + gl_Position = projection*view*world*vec4(aposition, 1.0); +} -- cgit v1.2.3-70-g09d2