diff options
Diffstat (limited to 'gfx/gl/shaders/shadowLandmass.vert')
| -rw-r--r-- | gfx/gl/shaders/shadowLandmass.vert | 13 |
1 files changed, 13 insertions, 0 deletions
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); +} |
