Selaa lähdekoodia

Merge pull request #7536 from julien-moreau/master

Fixed GeometryBufferRenderer to calculate world position when having …
David Catuhe 5 vuotta sitten
vanhempi
commit
038f502018
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      src/Shaders/geometry.vertex.fx

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

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