|
|
|
@ -330,12 +330,7 @@ public abstract class AbstractShadowRenderer implements SceneProcessor, Savable |
|
|
|
|
public void initialize(RenderManager rm, ViewPort vp) { |
|
|
|
|
renderManager = rm; |
|
|
|
|
viewPort = vp; |
|
|
|
|
//checking for caps to chosse the appropriate post material technique
|
|
|
|
|
if (renderManager.getRenderer().getCaps().contains(Caps.GLSL150)) { |
|
|
|
|
postTechniqueName = "PostShadow15"; |
|
|
|
|
} else { |
|
|
|
|
postTechniqueName = "PostShadow"; |
|
|
|
|
} |
|
|
|
|
postTechniqueName = "PostShadow"; |
|
|
|
|
if(zFarOverride>0 && frustumCam == null){ |
|
|
|
|
initFrustumCam(); |
|
|
|
|
} |
|
|
|
|