java.lang.Object
de.grogra.glsl.utility.GLSLTexture
de.grogra.glsl.utility.TextureRenderTarget
de.grogra.glsl.light.shadow.GLSLShadowMap
de.grogra.glsl.light.shadow.GLSLShadowParallel
- All Implemented Interfaces:
FBOAttachment
,GLSLOpenGLObject
-
Field Summary
Fields inherited from class de.grogra.glsl.light.shadow.GLSLShadowMap
GRAPH_STAMP, invalid
Fields inherited from class de.grogra.glsl.utility.TextureRenderTarget
DEPTHUB, RGBA16F, RGBA16US, RGBA32F, RGBA8UB
Fields inherited from class de.grogra.glsl.utility.GLSLTexture
height, index, internalFormat, texType, type, width
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
create
(javax.media.opengl.GL gl) boolean
create
(javax.media.opengl.GL gl, int width, int height) void
fill
(GLSLDisplay disp, OpenGLState glState) Class<?>
int
getSize()
void
setProjRadius
(double radius) Sets the Projections diameter to width (should be )void
setupTextureMatrices
(OpenGLState glState, Matrix4d ViewToWorld, LightPos light) Methods inherited from class de.grogra.glsl.light.shadow.GLSLShadowMap
delete, getLightToView, renderCachedScene, setCamDir, setCamPos, setInvalid, setLightTransf
Methods inherited from class de.grogra.glsl.utility.TextureRenderTarget
attachToFbo, bindTo, create, create, resize, toString
Methods inherited from class de.grogra.glsl.utility.GLSLTexture
bindTo, cleanup, delete, estimateSizeInByte, getHeight, getIndex, getTexType, getType, getWidth
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface de.grogra.glsl.utility.FBOAttachment
estimateSizeInByte
-
Constructor Details
-
GLSLShadowParallel
public GLSLShadowParallel()
-
-
Method Details
-
setProjRadius
public void setProjRadius(double radius) Sets the Projections diameter to width (should be )- Parameters:
width
-
-
getViewToClip
- Overrides:
getViewToClip
in classGLSLShadowMap
-
getLightToView
- Overrides:
getLightToView
in classGLSLShadowMap
-
create
public boolean create(javax.media.opengl.GL gl) - Specified by:
create
in classGLSLShadowMap
-
create
public boolean create(javax.media.opengl.GL gl, int width, int height) - Specified by:
create
in classGLSLShadowMap
-
fill
- Specified by:
fill
in classGLSLShadowMap
-
getSize
public int getSize()- Specified by:
getSize
in classGLSLShadowMap
-
getInstance
- Specified by:
getInstance
in classGLSLShadowMap
-
setupTextureMatrices
- Specified by:
setupTextureMatrices
in classGLSLShadowMap
-
getDefaultLightType
- Specified by:
getDefaultLightType
in classGLSLShadowMap
-