Emits parallel rays in a specific direction, simulating distant light sources like the sun:

// Create a directional light (like sunlight)
const dirLight = new BABYLON.DirectionalLight("dirLight",
    new BABYLON.Vector3(-1, -2, -1), // Direction the light travels
    scene
);

dirLight.diffuse = new BABYLON.Color3(1, 1, 0.9); // Slightly warm
dirLight.intensity = 0.8;

// Position matters for shadow generation (not for lighting direction)
dirLight.position = new BABYLON.Vector3(20, 40, 20);