[SOLVED] - How to prevent lights reflection on a mesh

Hi there,
i’ve a scene in which, depending on camera position, lights could completely cover meshes details.
In this PG example https://playground.babylonjs.com/#1MB0Y0#1 you can see that in this configuration the text on mesh is not readable because of light reflection. You can move the camera or drag the sphere to see the differences.
Is there a way to exclude the mesh such that it’s not lighted? I don’t need the mesh to be lighted because it has a glow layer and an emissive color.
Thank you in advance.

EDITI: i think i’ve found it 2minutes after writing this post :smiley: light.excludedMeshes.push()
Now it’s quite better: https://playground.babylonjs.com/#1MB0Y0#2

2 Likes