HemisphericLight
The simplest light type, perfect for simulating ambient outdoor lighting. It provides soft, even illumination based on the surface normal direction:
// Create a hemispheric light pointing upward
const light = new BABYLON.HemisphericLight("hemiLight",
new BABYLON.Vector3(0, 1, 0), // Direction (up)
scene
);
// Configure colors
light.diffuse = new BABYLON.Color3(1, 1, 1); // Color of surfaces facing the light
light.specular = new BABYLON.Color3(0.5, 0.5, 0.5); // Color of specular highlights
light.groundColor = new BABYLON.Color3(0.2, 0.2, 0.3); // Color of surfaces facing away
// Adjust intensity
light.intensity = 0.8;