|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xith3d.effects.shadows.ShadowFactory
org.xith3d.effects.shadows.ShadowMappingFactory
org.xith3d.effects.shadows.FixedFuncShadowMappingFactory
public class FixedFuncShadowMappingFactory
This ShadowFactory realizes shadow-mapping through the
fixed-function pipeline of OpenGL.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.xith3d.effects.shadows.ShadowMappingFactory |
|---|
ShadowMappingFactory.HackedRenderBinProvider |
| Nested classes/interfaces inherited from class org.xith3d.effects.shadows.ShadowFactory |
|---|
ShadowFactory.ShadowFactoryIdentifier |
| Field Summary |
|---|
| Fields inherited from class org.xith3d.effects.shadows.ShadowMappingFactory |
|---|
SHADOW_FACTORY_ID |
| Constructor Summary | |
|---|---|
FixedFuncShadowMappingFactory()
|
|
| Method Summary | |
|---|---|
static TexCoordGeneration |
getTexCoordGeneration()
|
void |
onShadowReceiverStateChanged(Shape3D shape,
boolean isShadowReceiver)
This must be called from the scenegraph when a shape's shadow-receiver state is changed. |
void |
setEnabled(boolean enabled)
|
void |
setShadowSoftness(int softness)
|
| Methods inherited from class org.xith3d.effects.shadows.ShadowMappingFactory |
|---|
calculateScreenScale, calculateTextureMatrix, getDepthRenderTarget, getGenerationPass, getLightViewport, getRenderBinProvider, getShadowAtom, getShadowFactoryId, getShadowMap, getShadowMapAttributes, needsPerLightCulling, onOccluderStateChanged, setShadowQuality, setupRenderPass, verifyLight |
| Methods inherited from class org.xith3d.effects.shadows.ShadowFactory |
|---|
getShadowQuality, getShadowSoftness, getShadowTextureUnit, isEnabled, setShadowTextureUnit |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FixedFuncShadowMappingFactory()
| Method Detail |
|---|
public static TexCoordGeneration getTexCoordGeneration()
TexCoordGeneration that calculates the
texture-coordinates for shadow-mapping.
java.io.IOExceptionpublic void setShadowSoftness(int softness)
setShadowSoftness in class ShadowFactory
public void onShadowReceiverStateChanged(Shape3D shape,
boolean isShadowReceiver)
onShadowReceiverStateChanged in class ShadowFactorypublic void setEnabled(boolean enabled)
setEnabled in interface org.jagatoo.datatypes.EnableablesetEnabled in class ShadowMappingFactory
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||