When I write the code like above playground, I don’t see any shadows. Is there anything I missed?
the engine is webgpu.
When I write the code like above playground, I don’t see any shadows. Is there anything I missed?
the engine is webgpu.
Try to reduce the angle of the spot light I think it’s because the shadow quality lowers too much if the angle is too wide.
const light = new BABYLON.SpotLight("spot-light", new BABYLON.Vector3(25, 20, -25), new BABYLON.Vector3(-10, -10, 10), Math.PI * 0.5, 10, scene);
Thank you. What you said was the problem.