From bc0958cc863083b4082161bf12456fdf28ab1c77 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sat, 31 Jan 2026 02:51:16 +0000 Subject: Rename shader source in keeping with glsl expectations Swaps name/type of generated files to match class names and source files. --- gfx/gl/shaders/shadowLandmass.vert | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 gfx/gl/shaders/shadowLandmass.vert (limited to 'gfx/gl/shaders/shadowLandmass.vert') diff --git a/gfx/gl/shaders/shadowLandmass.vert b/gfx/gl/shaders/shadowLandmass.vert new file mode 100644 index 0000000..cf68fe5 --- /dev/null +++ b/gfx/gl/shaders/shadowLandmass.vert @@ -0,0 +1,13 @@ +#version 460 core + +layout(location = 0) in ivec3 position; + +uniform ivec3 viewPoint; + +out vec4 vworldPos; + +void +main() +{ + vworldPos = vec4(position - viewPoint, 1); +} -- cgit v1.2.3