How to turn off reflections from a light source

I want the light not to be seen in the plane


Need to set specular property of the light to black.

light.specular = new BABYLON.Color3.Black();

2 Likes

Note that this will affect every object in the scene which is receiving that light. So if you want it on one object and not on another, then you can play with the specular property of the material itself

material.specularColor = new BABYLON.Color3.Black();

3 Likes

O my friend thank you very very much,3 hours suffered! Thank you

1 Like