Disable shadows on hemispherical light

I’m trying to disable shadows on a hemispherical light, because I want an even, flat ambient light (with no shadows) in my scene, but it doesn’t seem to work. This is my code:

ambient = new BABYLON.HemisphericLight("HemiLight", new BABYLON.Vector3(0, 1, 0), scene);
ambient.intensity = 2.0;
ambient.shadowEnabled = false;

Setting shadowEnable to false doesn’t seem to do anything. Am I doing something wrong? Is it bugged? Need help.

I think you will have to provide a PG so that we are able to help in this matter.

I believe you are confusing shadows and light influence on materials.

If you want the material to not be affected by light, set disableLighting to be true. Then the material will be even and won’t react to any lighting properties.

If this is not the case, as @Evgeni_Popov wrote , a playground will be helpful.

1 Like

ambient.groundColor = new BABYLON.Color3.White();