java.lang.Object
de.grogra.glsl.utility.GLSLTexture
de.grogra.glsl.utility.TextureRenderTarget
de.grogra.glsl.light.shadow.GLSLShadowMap
de.grogra.glsl.light.shadow.GLSLShadowPerspective
- All Implemented Interfaces:
FBOAttachment,GLSLOpenGLObject
-
Field Summary
Fields inherited from class de.grogra.glsl.light.shadow.GLSLShadowMap
GRAPH_STAMP, invalidFields inherited from class de.grogra.glsl.utility.TextureRenderTarget
DEPTHUB, RGBA16F, RGBA16US, RGBA32F, RGBA8UBFields inherited from class de.grogra.glsl.utility.GLSLTexture
height, index, internalFormat, texType, type, width -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancreate(javax.media.opengl.GL gl) booleancreate(javax.media.opengl.GL gl, int width, int height) voidfill(GLSLDisplay disp, OpenGLState glState) Class<?> intgetSize()voidsetFieldOfView(float FoV) voidsetLightTransf(LightPos light) voidsetupTextureMatrices(OpenGLState glState, Matrix4d ViewToWorld, LightPos light) Methods inherited from class de.grogra.glsl.light.shadow.GLSLShadowMap
delete, getLightToView, getLightToView, renderCachedScene, setCamDir, setCamPos, setInvalidMethods inherited from class de.grogra.glsl.utility.TextureRenderTarget
attachToFbo, bindTo, create, create, resize, toStringMethods inherited from class de.grogra.glsl.utility.GLSLTexture
bindTo, cleanup, delete, estimateSizeInByte, getHeight, getIndex, getTexType, getType, getWidthMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface de.grogra.glsl.utility.FBOAttachment
estimateSizeInByte
-
Constructor Details
-
GLSLShadowPerspective
public GLSLShadowPerspective()
-
-
Method Details
-
getViewToClip
- Overrides:
getViewToClipin classGLSLShadowMap
-
setFieldOfView
public void setFieldOfView(float FoV) -
create
public boolean create(javax.media.opengl.GL gl) - Specified by:
createin classGLSLShadowMap
-
create
public boolean create(javax.media.opengl.GL gl, int width, int height) - Specified by:
createin classGLSLShadowMap
-
fill
- Specified by:
fillin classGLSLShadowMap
-
getSize
public int getSize()- Specified by:
getSizein classGLSLShadowMap
-
getInstance
- Specified by:
getInstancein classGLSLShadowMap
-
setLightTransf
- Overrides:
setLightTransfin classGLSLShadowMap
-
setupTextureMatrices
- Specified by:
setupTextureMatricesin classGLSLShadowMap
-
getDefaultLightType
- Specified by:
getDefaultLightTypein classGLSLShadowMap
-