Light everywhere or nowhere

Hi everyone,

Is it possible to work in Babylon without any light or with only one light which shows all the meshes the same way (no shadows…).

I try to use an hemispheric light but parts of my meshes are always in the shadow.

Thanks,

Boris

1 Like

Maybe i have to explain a little bit more. I want to use Babylon as a “Sketcher”, not as a renderer. Without light, all my meshes are black and i want them to be simply colored.

1 Like

You can disable lighting for the scene and set each mesh material’s emissiveColor like below. :slightly_smiling_face:
https://playground.babylonjs.com/#LCXJM2#1

3 Likes

Which direction do you create the hemispheric light in? If you set it zero vector, there wont be any shadows.

new BABYLON.HemisphericLight("light", new BABYLON.Vector3.Zero(), scene);