Browse Source

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

David Catuhe 5 năm trước cách đây
mục cha
commit
ca9d17b1b0
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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