码:
Color color = new Color(1f,1f,1f,0.9f);
DirectionalLight directionalLight = new DirectionalLight(rayHandler,200,color,-90f);
directionalLight.setSoftnessLength(0);
结果:
当光线从上方直接下降,为什么不从盒子投下阴影?
码:
Color color = new Color(1f,1f,1f,0.9f);
DirectionalLight directionalLight = new DirectionalLight(rayHandler,200,color,-90f);
directionalLight.setSoftnessLength(0);
结果:
当光线从上方直接下降,为什么不从盒子投下阴影?
这可能是由一些事情引起的。 有些事情要检查: