You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In this mode, we would need to set the OBJECTSPACE_NORMALMAP define and pass the normalMatrix to the shader code. Which in turns means we have to add a new world matrix entry to the PerturbNormal block:
See https://forum.babylonjs.com/t/read-texture-in-object-space-in-nme/37182
In this mode, we would need to set the
OBJECTSPACE_NORMALMAP
define and pass thenormalMatrix
to the shader code. Which in turns means we have to add a new world matrix entry to thePerturbNormal
block:https://github.com/BabylonJS/Babylon.js/blob/master/packages/dev/core/src/Materials/PBR/pbrBaseMaterial.ts#L2001-L2004
The text was updated successfully, but these errors were encountered: