I want a skybox to optionally not show a reflection texture. Disabling it is not an option, because then the scene.clearColor
shows & it does not play with image processing. If you do not supply a texture to scene.createDefaultSkybox()
, it throws an error.
Disposing the texture, then setting the reflectionTexture member of the material to null & assigning an emissiveColor, just results in a mix of the reflection & emissive.
https://www.babylonjs-playground.com/#C8LKRA
Is this because if the reflection texture is null the scene’s is used?