Apply deferred shading to walls

This commit is contained in:
2021-09-01 00:51:50 +01:00
parent 1c587d4b9a
commit 4cd8b5aa1c
5 changed files with 22 additions and 19 deletions
+5 -4
View File
@@ -1,9 +1,10 @@
#version 430 core
layout (location=0) out vec4 fCol;
layout (location=1) out vec4 fPos;
in vec4 gColor;
out vec4 fColor;
in vec4 gPos;
void main()
{
fColor = gColor;
fCol = gColor;
fPos = gPos;
}