Refactored geometry shader example, added normal map toggle, updated shaders, etc.
This commit is contained in:
parent
284465227a
commit
54801493aa
10 changed files with 119 additions and 109 deletions
|
|
@ -8,6 +8,11 @@ layout (location = 1) in vec3 inNormal;
|
|||
|
||||
layout (location = 0) out vec3 outNormal;
|
||||
|
||||
out gl_PerVertex
|
||||
{
|
||||
vec4 gl_Position;
|
||||
};
|
||||
|
||||
void main(void)
|
||||
{
|
||||
outNormal = inNormal;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue