Added gl_PerVertex output blocks
This commit is contained in:
parent
2906df5308
commit
d3f5b81a66
9 changed files with 15 additions and 0 deletions
|
|
@ -21,6 +21,11 @@ layout (location = 2) out float outVisible;
|
|||
layout (location = 3) out vec3 outViewVec;
|
||||
layout (location = 4) out vec3 outLightVec;
|
||||
|
||||
out gl_PerVertex
|
||||
{
|
||||
vec4 gl_Position;
|
||||
};
|
||||
|
||||
void main()
|
||||
{
|
||||
outNormal = inNormal;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue