Refactored geometry shader example, added normal map toggle, updated shaders, etc.

This commit is contained in:
saschawillems 2016-06-05 19:57:35 +02:00
parent 284465227a
commit 54801493aa
10 changed files with 119 additions and 109 deletions

View file

@ -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;