com.jme3.shadow
クラス PssmShadowUtil
java.lang.Object
com.jme3.shadow.PssmShadowUtil
public final class PssmShadowUtil
- extends java.lang.Object
Includes various useful shadow mapping functions.
See:
http://appsrv.cse.cuhk.edu.hk/~fzhang/pssm_vrcia/
http://http.developer.nvidia.com/GPUGems3/gpugems3_ch10.html
for more info.
メソッドの概要 |
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. |
クラス java.lang.Object から継承されたメソッド |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PssmShadowUtil
public PssmShadowUtil()
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