Explorar el Código

Merge branch 'master' of https://github.com/BabylonJS/Babylon.js

David Catuhe hace 6 años
padre
commit
ca9d17b1b0
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/Shaders/geometry.vertex.fx

+ 1 - 1
src/Shaders/geometry.vertex.fx

@@ -132,7 +132,7 @@ void main(void)
 		#endif
 		#endif
 	#endif
 	#endif
 
 
-	#ifdef POSITION
+	#if defined(POSITION) || defined(BUMP)
 	vPositionW = pos.xyz / pos.w;
 	vPositionW = pos.xyz / pos.w;
 	#endif
 	#endif