How to Disable Tone Mapping for Specific Background Material

I’m working with a texture object that utilizes Background Material. I need to disable toneMapping for this particular background material without affecting my skybox, which also uses background material. The cameraToneMappingEnabled option alters the skybox’s color, which is not desirable. Any suggestions on how to achieve this?

ping @Evgeni_Popov

By default, the same image processing configuration object (the one coming from the scene) is used by all materials. In your case, you will want to setup a specific instance for your background material:

mat.imageProcessingConfiguration = new BABYLON.ImageProcessingConfiguration();
2 Likes

Ah did not know that, thank you so much!