gestalt.candidates.shadow
Class JoglGLSLShadowMap
java.lang.Object
gestalt.shape.AbstractDrawable
gestalt.candidates.shadow.JoglGLSLShadowMap
- All Implemented Interfaces:
- Drawable
public class JoglGLSLShadowMap
- extends AbstractDrawable
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
lightcamera
public final JoglCamera lightcamera
JoglGLSLShadowMap
public JoglGLSLShadowMap(Light theLight,
int theTextureWidth,
int theTextureHeight)
JoglGLSLShadowMap
public JoglGLSLShadowMap(Light theLight,
int theTextureWidth,
int theTextureHeight,
int theTextureUnitID)
draw
public void draw(GLContext theRenderContext)
- Description copied from interface:
Drawable
- this method is used to draw the drawable, when the context is ready.
although the behavior sometimes varies and doesn t always need to
have a visual representation depending on the implementation.
- Parameters:
theRenderContext - GLContext
disableShadow
public void disableShadow(GL gl)
enableShadow
public void enableShadow(GL gl)
light
public Light light()
getTextureUnit
public int getTextureUnit()
getTextureWidth
public int getTextureWidth()
getTextureHeight
public int getTextureHeight()
getOpenGLTextureID
public int getOpenGLTextureID()
addShape
public void addShape(Drawable theShape)
removeDrawable
public Drawable removeDrawable(Drawable theShape)
setBin
public void setBin(AbstractBin theBin)
getBin
public AbstractBin getBin()
getTextureTarget
public int getTextureTarget()
fbo
public JoglFrameBufferObject fbo()
processing library gestalt_p5 by Patrick Kochlik + Dennis Paul. (c) 2009