gestalt.candidates.shadow
Class JoglMaterialPluginShadowCombiner

java.lang.Object
  extended by gestalt.candidates.shadow.JoglMaterialPluginShadowCombiner
All Implemented Interfaces:
MaterialPlugin

public class JoglMaterialPluginShadowCombiner
extends java.lang.Object
implements MaterialPlugin

this plugin was written to be used with the shadow extension. it blendes the shadow color in texture unit 1 with the color from texture unit 0.


Constructor Summary
JoglMaterialPluginShadowCombiner(JoglShadowMap theShadowMapExtension)
           
 
Method Summary
 void begin(GLContext theRenderContext, Material theParent)
           
 void end(GLContext theRenderContext, Material theParent)
           
 boolean isActive()
           
 void setActive(boolean theState)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JoglMaterialPluginShadowCombiner

public JoglMaterialPluginShadowCombiner(JoglShadowMap theShadowMapExtension)
Method Detail

isActive

public boolean isActive()

setActive

public void setActive(boolean theState)

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