Disable the haloing effect of light

Hi all,

When using hemisphericlight with the position at zero, there is a haloing effect on the mesh’s face. Sometimes it looks so strong and unreal, especially when the object is in a room.

I’d like to have a environment light without haloing effect, any ideas?

This will occur with any light if the material has a specular component. It’s more pronounced here due to the flat surface.

You can set:

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

Or …

mat.specularColor = BABYLON.Color3.Black();

to eliminate the “halo”.

Or …

mat.disableLighting = true;
mat.emissiveColor = BABYLON.Color3.White();

Depending on what you’re trying to achieve.

1 Like

Hi inteja, thanks for your prompt answer!