why DirectionalLight is not casting shadow?
问题 Code: Color color = new Color(1f,1f,1f,0.9f); DirectionalLight directionalLight = new DirectionalLight(rayHandler,200,color,-90f); directionalLight.setSoftnessLength(0); Result: When light falls directly from above, why it is not casting shadows from boxes? 回答1: This could be caused by a few things. Some things to check: Check if your RayHandler is set to blur. Blurring with small objects can hide shadows. Check the Shadows are enabled in the ray handler. Check the ambient light is off or