Package gaiasky.scene.system.render.pass
Class ShadowMapRenderPass
java.lang.Object
gaiasky.scene.system.render.pass.ShadowMapRenderPass
-
Field Summary
Modifier and TypeFieldDescriptioncom.badlogic.gdx.graphics.glutils.FrameBuffer[][]
Map<com.badlogic.ashley.core.Entity,
com.badlogic.gdx.math.Matrix4> Map containing the combined matrix for each model body.Map<com.badlogic.ashley.core.Entity,
com.badlogic.gdx.graphics.Texture> Map containing the shadow map for each model body. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Builds the shadow map data; frame buffers, arrays, etc.void
void
-
Field Details
-
shadowMapFb
public com.badlogic.gdx.graphics.glutils.FrameBuffer[][] shadowMapFb -
smTexMap
Map containing the shadow map for each model body. -
smCombinedMap
Map containing the combined matrix for each model body.
-
-
Constructor Details
-
ShadowMapRenderPass
-
-
Method Details
-
initialize
public void initialize() -
buildShadowMapData
public void buildShadowMapData()Builds the shadow map data; frame buffers, arrays, etc. -
render
-