Class DirectionalShadowLight

java.lang.Object
com.badlogic.gdx.graphics.g3d.environment.BaseLight<com.badlogic.gdx.graphics.g3d.environment.DirectionalLight>
com.badlogic.gdx.graphics.g3d.environment.DirectionalLight
gaiasky.util.gdx.model.gltf.scene3d.lights.DirectionalLightEx
gaiasky.util.gdx.model.gltf.scene3d.lights.DirectionalShadowLight
All Implemented Interfaces:
com.badlogic.gdx.graphics.g3d.environment.ShadowMap, com.badlogic.gdx.utils.Disposable

public class DirectionalShadowLight extends DirectionalLightEx implements com.badlogic.gdx.graphics.g3d.environment.ShadowMap, com.badlogic.gdx.utils.Disposable
  • Field Details Link icon

    • SQRT2 Link icon

      protected static final float SQRT2
    • fbo Link icon

      protected com.badlogic.gdx.graphics.glutils.FrameBuffer fbo
    • cam Link icon

      protected com.badlogic.gdx.graphics.Camera cam
    • textureDesc Link icon

      protected final com.badlogic.gdx.graphics.g3d.utils.TextureDescriptor textureDesc
    • center Link icon

      protected final com.badlogic.gdx.math.Vector3 center
  • Constructor Details Link icon

    • DirectionalShadowLight Link icon

      public DirectionalShadowLight()
    • DirectionalShadowLight Link icon

      public DirectionalShadowLight(int shadowMapWidth, int shadowMapHeight)
    • DirectionalShadowLight Link icon

      public DirectionalShadowLight(int shadowMapWidth, int shadowMapHeight, float shadowViewportWidth, float shadowViewportHeight, float shadowNear, float shadowFar)
  • Method Details Link icon

    • setShadowMapSize Link icon

      public DirectionalShadowLight setShadowMapSize(int shadowMapWidth, int shadowMapHeight)
    • createFrameBuffer Link icon

      protected com.badlogic.gdx.graphics.glutils.FrameBuffer createFrameBuffer(int width, int height)
    • setViewport Link icon

      public void setViewport(double shadowViewportWidth, double shadowViewportHeight, double shadowNear, double shadowFar)
    • setViewport Link icon

      public DirectionalShadowLight setViewport(float shadowViewportWidth, float shadowViewportHeight, float shadowNear, float shadowFar)
    • setCenter Link icon

      public DirectionalShadowLight setCenter(com.badlogic.gdx.math.Vector3 center)
    • setCenter Link icon

      public DirectionalShadowLight setCenter(Vector3d center)
    • setBounds Link icon

      public DirectionalShadowLight setBounds(com.badlogic.gdx.math.collision.BoundingBox box)
    • validate Link icon

      protected void validate()
    • begin Link icon

      public void begin()
    • end Link icon

      public void end()
    • getFrameBuffer Link icon

      public com.badlogic.gdx.graphics.glutils.FrameBuffer getFrameBuffer()
    • getCamera Link icon

      public com.badlogic.gdx.graphics.Camera getCamera()
    • getProjViewTrans Link icon

      public com.badlogic.gdx.math.Matrix4 getProjViewTrans()
      Specified by:
      getProjViewTrans in interface com.badlogic.gdx.graphics.g3d.environment.ShadowMap
    • getDepthMap Link icon

      public com.badlogic.gdx.graphics.g3d.utils.TextureDescriptor getDepthMap()
      Specified by:
      getDepthMap in interface com.badlogic.gdx.graphics.g3d.environment.ShadowMap
    • dispose Link icon

      public void dispose()
      Specified by:
      dispose in interface com.badlogic.gdx.utils.Disposable
    • equals Link icon

      public boolean equals(DirectionalLightEx other)
      Overrides:
      equals in class DirectionalLightEx
    • equals Link icon

      public boolean equals(DirectionalShadowLight other)