Class ShadowMapRenderPass

java.lang.Object
gaiasky.scene.system.render.pass.ShadowMapRenderPass

public class ShadowMapRenderPass extends Object
  • Field Details

    • shadowMapFb

      public com.badlogic.gdx.graphics.glutils.FrameBuffer[][] shadowMapFb
    • smTexMap

      public Map<com.badlogic.ashley.core.Entity,com.badlogic.gdx.graphics.Texture> smTexMap
      Map containing the shadow map for each model body.
    • smCombinedMap

      public Map<com.badlogic.ashley.core.Entity,com.badlogic.gdx.math.Matrix4> smCombinedMap
      Map containing the combined matrix for each model body.
  • Constructor Details

    • ShadowMapRenderPass

      public ShadowMapRenderPass(SceneRenderer sceneRenderer)
  • Method Details

    • initialize

      public void initialize()
    • buildShadowMapData

      public void buildShadowMapData()
      Builds the shadow map data; frame buffers, arrays, etc.
    • render

      public void render(ICamera camera)