Package com.jme3.shadow
Class InstancedDirectionalShadowFilter
java.lang.Object
com.jme3.post.Filter
com.jme3.shadow.AbstractShadowFilterVR<DirectionalLightShadowRendererVR>
com.jme3.shadow.DirectionalLightShadowFilterVR
com.jme3.shadow.InstancedDirectionalShadowFilter
- All Implemented Interfaces:
- Savable
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.
An instanced version of the 
directional light shadow filter.- 
Nested Class SummaryNested classes/interfaces inherited from class com.jme3.post.FilterFilter.Pass
- 
Field SummaryFields inherited from class com.jme3.shadow.AbstractShadowFilterVRshadowRenderer, viewPortFields inherited from class com.jme3.post.FilterdefaultPass, enabled, material, postRenderPasses, processor
- 
Constructor SummaryConstructorsConstructorDescriptionInstancedDirectionalShadowFilter(Application application, Camera camera, int shadowMapSize, int nbSplits, boolean instancedRendering, Camera rightCamera) Deprecated.Create a new instanced version of thedirectional light shadow filter.
- 
Method SummaryModifier and TypeMethodDescriptionbooleanDeprecated.Get if this filter is using instance rendering.protected voidpreFrame(float tpf) Deprecated.Override this method if you want to modify parameters according to tpf before the rendering of the frame.voidsetInstanceRendering(boolean instanceRendering) Deprecated.Set if this filter has to use instance rendering.Methods inherited from class com.jme3.shadow.DirectionalLightShadowFilterVRgetLambda, getLight, isEnabledStabilization, read, setEnabledStabilization, setLambda, setLight, writeMethods inherited from class com.jme3.shadow.AbstractShadowFilterVRgetEdgeFilteringMode, getEdgesThickness, getMaterial, getPreShadowForcedRenderState, getShadowCompareMode, getShadowIntensity, getShadowMaterial, getShadowZExtend, getShadowZFadeLength, initFilter, isFlushQueues, isRenderBackFacesShadows, isRequiresDepthTexture, postFrame, postQueue, setEdgeFilteringMode, setEdgesThickness, setRenderBackFacesShadows, setShadowCompareMode, setShadowIntensity, setShadowZExtend, setShadowZFadeLengthMethods inherited from class com.jme3.post.Filtercleanup, cleanUpFilter, getDefaultPassDepthFormat, getDefaultPassTextureFormat, getName, getPostRenderPasses, getRenderedTexture, getRenderFrameBuffer, init, isEnabled, isRequiresBilinear, isRequiresSceneTexture, postFilter, setDepthTexture, setEnabled, setName, setProcessor, setRenderedTexture, setRenderFrameBuffer
- 
Constructor Details- 
InstancedDirectionalShadowFilterpublic InstancedDirectionalShadowFilter(Application application, Camera camera, int shadowMapSize, int nbSplits, boolean instancedRendering, Camera rightCamera) Deprecated.Create a new instanced version of thedirectional light shadow filter.- Parameters:
- application- the application that this filter is attached to.
- camera-
- shadowMapSize- the size of the rendered shadowmaps (512, 1024, 2048, etcetera)
- nbSplits- the number of shadow maps rendered (More shadow maps yield better quality, fewer frames per second.)
- instancedRendering-- trueif this filter has to use instance rendering and- falseotherwise.
- rightCamera- the camera used as right eye in stereo rendering mode.
 
 
- 
- 
Method Details- 
preFrameprotected void preFrame(float tpf) Deprecated.Description copied from class:FilterOverride this method if you want to modify parameters according to tpf before the rendering of the frame. This is useful for animated filters Also it can be the place to render pre passes- Overrides:
- preFramein class- AbstractShadowFilterVR<DirectionalLightShadowRendererVR>
- Parameters:
- tpf- the time used to render the previous frame
 
- 
isInstanceRenderingpublic boolean isInstanceRendering()Deprecated.Get if this filter is using instance rendering.- Returns:
- trueif this filter is using instance rendering and- falseotherwise.
- See Also:
 
- 
setInstanceRenderingpublic void setInstanceRendering(boolean instanceRendering) Deprecated.Set if this filter has to use instance rendering.- Parameters:
- instanceRendering-- trueif this filter has to use instance rendering and- falseotherwise.
- See Also:
 
 
-