Class ShadowMapImpl
java.lang.Object
gaiasky.render.ShadowMapImpl
- All Implemented Interfaces:
com.badlogic.gdx.graphics.g3d.environment.ShadowMap
public class ShadowMapImpl
extends Object
implements com.badlogic.gdx.graphics.g3d.environment.ShadowMap
Implementation of a shadow map, containing the transformation matrix and texture descriptor.
-
Constructor Summary
ConstructorsConstructorDescriptionShadowMapImpl(com.badlogic.gdx.math.Matrix4 combined, com.badlogic.gdx.graphics.Texture td, com.badlogic.gdx.math.Matrix4 combinedGlobal, com.badlogic.gdx.graphics.Texture tdGlobal) -
Method Summary
Modifier and TypeMethodDescriptioncom.badlogic.gdx.graphics.g3d.utils.TextureDescriptor<com.badlogic.gdx.graphics.Texture> com.badlogic.gdx.graphics.g3d.utils.TextureDescriptor<com.badlogic.gdx.graphics.Texture> com.badlogic.gdx.math.Matrix4com.badlogic.gdx.math.Matrix4voidsetDepthMap(com.badlogic.gdx.graphics.Texture tex) voidsetDepthMapGlobal(com.badlogic.gdx.graphics.Texture tex) voidsetProjViewTrans(com.badlogic.gdx.math.Matrix4 mat) voidsetProjViewTransGlobal(com.badlogic.gdx.math.Matrix4 mat)
-
Constructor Details
-
ShadowMapImpl
public ShadowMapImpl(com.badlogic.gdx.math.Matrix4 combined, com.badlogic.gdx.graphics.Texture td, com.badlogic.gdx.math.Matrix4 combinedGlobal, com.badlogic.gdx.graphics.Texture tdGlobal)
-
-
Method Details
-
setProjViewTrans
public void setProjViewTrans(com.badlogic.gdx.math.Matrix4 mat) -
getProjViewTrans
public com.badlogic.gdx.math.Matrix4 getProjViewTrans()- Specified by:
getProjViewTransin interfacecom.badlogic.gdx.graphics.g3d.environment.ShadowMap
-
setProjViewTransGlobal
public void setProjViewTransGlobal(com.badlogic.gdx.math.Matrix4 mat) -
getProjViewTransGlobal
public com.badlogic.gdx.math.Matrix4 getProjViewTransGlobal() -
setDepthMap
public void setDepthMap(com.badlogic.gdx.graphics.Texture tex) -
getDepthMap
public com.badlogic.gdx.graphics.g3d.utils.TextureDescriptor<com.badlogic.gdx.graphics.Texture> getDepthMap()- Specified by:
getDepthMapin interfacecom.badlogic.gdx.graphics.g3d.environment.ShadowMap
-
setDepthMapGlobal
public void setDepthMapGlobal(com.badlogic.gdx.graphics.Texture tex) -
getDepthMapGlobal
public com.badlogic.gdx.graphics.g3d.utils.TextureDescriptor<com.badlogic.gdx.graphics.Texture> getDepthMapGlobal()
-