Apply deferred shading to walls
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user