diff options
Diffstat (limited to 'gfx/gl/shaders/lighting.vs')
-rw-r--r-- | gfx/gl/shaders/lighting.vs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/gfx/gl/shaders/lighting.vs b/gfx/gl/shaders/lighting.vs new file mode 100644 index 0000000..e07cd0a --- /dev/null +++ b/gfx/gl/shaders/lighting.vs @@ -0,0 +1,12 @@ +#version 330 core + +in ivec4 position; + +out vec2 TexCoords; + +void +main() +{ + gl_Position = vec4(position.xy, 0.0, 1.0); + TexCoords = position.zw; +} |