fix-456
javasabr 8 years ago
parent c2219ecce5
commit 87562bfbae
  1. 5
      jme3-core/src/main/java/com/jme3/shadow/PointLightShadowRenderer.java

@ -230,6 +230,11 @@ public class PointLightShadowRenderer extends AbstractShadowRenderer {
*/
@Override
protected boolean checkCulling(Camera viewCam) {
if (light == null) {
return false;
}
Camera cam = viewCam;
if(frustumCam != null){
cam = frustumCam;

Loading…
Cancel
Save