com.jme3.shadow
Class PssmShadowUtil

java.lang.Object
  extended by com.jme3.shadow.PssmShadowUtil

public final class PssmShadowUtil
extends java.lang.Object

Includes various useful shadow mapping functions.

See Also:
for more info.

Constructor Summary
PssmShadowUtil()
           
 
Method Summary
static float computeZFar(GeometryList occ, GeometryList recv, Camera cam)
          Compute the Zfar in the model vieuw to adjust the Zfar distance for the splits calculation
static void updateFrustumSplits(float[] splits, float near, float far, float lambda)
          Updates the frustum splits stores in splits using PSSM.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PssmShadowUtil

public PssmShadowUtil()
Method Detail

updateFrustumSplits

public static void updateFrustumSplits(float[] splits,
                                       float near,
                                       float far,
                                       float lambda)
Updates the frustum splits stores in splits using PSSM.


computeZFar

public static float computeZFar(GeometryList occ,
                                GeometryList recv,
                                Camera cam)
Compute the Zfar in the model vieuw to adjust the Zfar distance for the splits calculation