gestalt.candidates.shadow
Class JoglMaterialPluginShadowController
java.lang.Object
gestalt.candidates.shadow.JoglMaterialPluginShadowController
- All Implemented Interfaces:
- MaterialPlugin
public class JoglMaterialPluginShadowController
- extends java.lang.Object
- implements MaterialPlugin
this plugin enables single material to controll whether they
receive shadows or not.
in real life this plugin should just be used occassionally
as the enabling and disabling process can be quite expensive.
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JoglMaterialPluginShadowController
public JoglMaterialPluginShadowController(JoglShadowMap theShadowMapExtension)
isEnabled
public boolean isEnabled()
enableShadow
public void enableShadow()
disableShadow
public void disableShadow()
begin
public void begin(GLContext theRenderContext,
Material theParent)
- Specified by:
begin in interface MaterialPlugin
end
public void end(GLContext theRenderContext,
Material theParent)
- Specified by:
end in interface MaterialPlugin
processing library gestalt_p5 by Patrick Kochlik + Dennis Paul. (c) 2009