Browse Source

Merge pull request #3851 from julien-moreau/master

Computing good normals for fur material, as vNormalW is use only for …
David Catuhe 7 years ago
parent
commit
447a268ee3
1 changed files with 0 additions and 4 deletions
  1. 0 4
      materialsLibrary/src/fur/fur.vertex.fx

+ 0 - 4
materialsLibrary/src/fur/fur.vertex.fx

@@ -115,12 +115,8 @@ float r = Rand(position);
 	#endif
 	
 	#ifdef NORMAL
-	#ifdef HIGHLEVEL
-	vNormalW = normalize(vec3(finalWorld * vec4(normal, 0.0)) * aNormal);
-	#else
 	vNormalW = normalize(vec3(finalWorld * vec4(normal, 0.0)));
 	#endif
-	#endif
 	
 //END FUR
 	gl_Position = viewProjection * finalWorld * vec4(newPosition, 1.0);