Closed Popov72 closed 4 years ago
Might I suggest this text instead:
twoSidedLighting
will not take effect ifseparateCullingPass
is enabled. For double sided, transparent PBR materials you can instead useforceNormalForward = true
, which will result in practically the same same effect. If used, you can settwoSidedLighting = false
to slightly improve shader performance.
No problem!
See https://forum.babylonjs.com/t/separatecullingpass-knocks-out-twosidedlighting/14615/6