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/mesh.vert | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 data/shaders/mesh.vert (limited to 'data/shaders/mesh.vert') diff --git a/data/shaders/mesh.vert b/data/shaders/mesh.vert new file mode 100644 index 0000000..c53f508 --- /dev/null +++ b/data/shaders/mesh.vert @@ -0,0 +1,17 @@ +#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