Add shader files
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
#version 450 core
|
||||
layout (location=0) out vec4 fCol;
|
||||
layout (location=1) out vec4 fPos;
|
||||
layout (location=2) out vec4 fNorm;
|
||||
in vec4 gColor;
|
||||
in vec4 gPos;
|
||||
void main()
|
||||
{
|
||||
fCol = gColor;
|
||||
//fPos = gPos;// + vec4(0,0,50,0);
|
||||
//fNorm = vec4 (0,0,10,10);
|
||||
fPos = vec4(0,0,50,1);
|
||||
fNorm = vec4 (0,0,10,10);
|
||||
}
|
||||
Reference in New Issue
Block a user