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
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue