From 3b791f79bf53e481d053ea4516eedce8be3423bf Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Tue, 1 Nov 2022 19:12:04 +0000 Subject: Switch to a deferred lighting based render pipeline Tidy-up required. --- gfx/gl/shaders/lightingShader.vs | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 gfx/gl/shaders/lightingShader.vs (limited to 'gfx/gl/shaders/lightingShader.vs') diff --git a/gfx/gl/shaders/lightingShader.vs b/gfx/gl/shaders/lightingShader.vs new file mode 100644 index 0000000..933a46a --- /dev/null +++ b/gfx/gl/shaders/lightingShader.vs @@ -0,0 +1,13 @@ +#version 330 core + +in vec3 aPos; +in vec2 aTexCoords; + +out vec2 TexCoords; + +void +main() +{ + TexCoords = aTexCoords; + gl_Position = vec4(aPos, 1.0); +} -- cgit v1.2.3