Package gaiasky.scene.system.render.pass
Class CascadedShadowMapRenderPass
java.lang.Object
gaiasky.scene.system.render.pass.RenderPass
gaiasky.scene.system.render.pass.CascadedShadowMapRenderPass
- All Implemented Interfaces:
com.badlogic.gdx.utils.Disposable
-
Field Summary
Fields inherited from class gaiasky.scene.system.render.pass.RenderPass
condition, enabled, sceneRenderer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
dispose()
void
protected void
void
renderDepth
(DirectionalShadowLight light, ICamera camera, IntModelBatch batch, List<IRenderable> list) Render only depth (packed 32 bits) with custom camera.protected void
renderPass
(ICamera camera, Object... params) Methods inherited from class gaiasky.scene.system.render.pass.RenderPass
disable, doneLoading, enable, initialize, isEnabled, removeCondition, render, setCondition, setEnabled
-
Field Details
-
CASCADE_COUNT
public static final int CASCADE_COUNTNumber of cascade buffers.- See Also:
-
-
Constructor Details
-
CascadedShadowMapRenderPass
-
-
Method Details
-
initializeRenderPass
protected void initializeRenderPass()- Specified by:
initializeRenderPass
in classRenderPass
-
renderPass
- Specified by:
renderPass
in classRenderPass
-
renderDepth
public void renderDepth(DirectionalShadowLight light, ICamera camera, IntModelBatch batch, List<IRenderable> list) Render only depth (packed 32 bits) with custom camera. Useful to render shadow maps. -
disposeCachedFrameBuffers
public void disposeCachedFrameBuffers() -
dispose
public void dispose()- Specified by:
dispose
in interfacecom.badlogic.gdx.utils.Disposable
- Specified by:
dispose
in classRenderPass
-