Class VRDirectionalLightShadowRenderer

All Implemented Interfaces:
Savable, SceneProcessor, JmeCloneable, Cloneable

@Deprecated public class VRDirectionalLightShadowRenderer extends DirectionalLightShadowRenderer
Deprecated.
The jme3-vr module is deprecated and will be removed in a future version (as it only supports OpenVR). For new Virtual Reality projects, use user libraries that provide OpenXR support. See Virtual Reality JME wiki section for more information.
DirectionalLightShadowRenderer renderer use Parallel Split Shadow Mapping technique (pssm)
It splits the view frustum in several parts and compute a shadow map for each one.
splits are distributed so that the closer they are from the camera, the smaller they are to maximize the resolution used of the shadow map.
This results in a better quality shadow than standard shadow mapping.
for more information on this read http://http.developer.nvidia.com/GPUGems3/gpugems3_ch10.html
  • Constructor Details

    • VRDirectionalLightShadowRenderer

      public VRDirectionalLightShadowRenderer(AssetManager assetManager, int shadowMapSize, int nbSplits)
      Deprecated.
      Create an OculusDirectionalLightShadowRenderer More info on the technique at http://http.developer.nvidia.com/GPUGems3/gpugems3_ch10.html
      Parameters:
      assetManager - the application asset manager
      shadowMapSize - the size of the rendered shadowmaps (512,1024,2048, etc...)
      nbSplits - the number of shadow maps rendered (More shadow maps result in higher quality, fewer fps.)
  • Method Details