I spend some times at work to update a project from v3 to v4, and the update was actually only for lightmap assignation script. Here the weird result I get:
It should be only the way of browsing among meshes that my update concerns, not the visual tweakings values, so I wasn’t understood what’s happen here.
Aaaand of course, I made a playground… which leads me to the fact that using environmentTexture and ambientColor values doesn’t render the same!:
- BJS v3: https://www.babylonjs-playground.com/indexStable.html#K4S3GU#70
- BJS v4: https://www.babylonjs-playground.com/#K4S3GU#70
some tests & notes:
- if I comment the
scene.ambientColor
line, renders are the same - if I comment the
scene.environmentTexture
, the albedoTexture isn’t visible in the v4!