de.grogra.imp3d.glsl.light.shadow
public class GLSLShadowParallel extends GLSLShadowMap
GRAPH_STAMP, invalidDEPTHUB, RGBA16F, RGBA16US, RGBA32F, RGBA8UBheight, index, internalFormat, texType, type, width| Constructor and Description |
|---|
GLSLShadowParallel() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
create(javax.media.opengl.GL gl) |
boolean |
create(javax.media.opengl.GL gl,
int width,
int height) |
void |
fill(GLSLDisplay disp,
OpenGLState glState) |
java.lang.Class<?> |
getDefaultLightType() |
GLSLShadowMap |
getInstance() |
Matrix4d |
getLightToView() |
int |
getSize() |
Matrix4d |
getViewToClip() |
void |
setProjRadius(double radius)
Sets the Projections diameter to width (should be )
|
void |
setupTextureMatrices(OpenGLState glState,
Matrix4d ViewToWorld,
LightPos light) |
delete, getLightToView, renderCachedScene, setCamDir, setCamPos, setInvalid, setLightTransfattachToFbo, bindTo, create, create, resize, toStringbindTo, cleanup, delete, estimateSizeInByte, getHeight, getIndex, getTexType, getType, getWidthclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitestimateSizeInBytepublic boolean create(javax.media.opengl.GL gl)
create in class GLSLShadowMappublic boolean create(javax.media.opengl.GL gl,
int width,
int height)
create in class GLSLShadowMappublic void fill(GLSLDisplay disp, OpenGLState glState)
fill in class GLSLShadowMappublic java.lang.Class<?> getDefaultLightType()
getDefaultLightType in class GLSLShadowMappublic GLSLShadowMap getInstance()
getInstance in class GLSLShadowMappublic Matrix4d getLightToView()
getLightToView in class GLSLShadowMappublic int getSize()
getSize in class GLSLShadowMappublic Matrix4d getViewToClip()
getViewToClip in class GLSLShadowMappublic void setProjRadius(double radius)
width - public void setupTextureMatrices(OpenGLState glState, Matrix4d ViewToWorld, LightPos light)
setupTextureMatrices in class GLSLShadowMap