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

@ -18,7 +18,7 @@ layout (location = 0) out vec3 outColor;
void main(void)
{
float normalLength = 0.015;
float normalLength = 0.02;
for(int i=0; i<gl_in.length(); i++)
{
vec3 pos = gl_in[i].gl_Position.xyz;