com.threerings.opengl.scene.config
Class ShadowConfig.SilhouetteTexture
java.lang.Object
com.threerings.util.DeepObject
com.threerings.opengl.scene.config.ShadowConfig
com.threerings.opengl.scene.config.ShadowConfig.SilhouetteTexture
- All Implemented Interfaces:
- Exportable, Copyable, Cloneable
- Enclosing class:
- ShadowConfig
public static class ShadowConfig.SilhouetteTexture
- extends ShadowConfig
Generates shadows by rendering the silhouettes of shadow casters from the perspective
of the light into a texture and projecting that texture onto shadow receivers.
near
@Editable(min=0.0,
step=0.01,
hgroup="f")
public float near
- The distance to the near clip plane.
far
@Editable(min=0.0,
step=0.01,
hgroup="f")
public float far
- The distance to the far clip plane.
material
@Editable(nullable=true)
public ConfigReference<MaterialConfig> material
- The projection material.
colorState
@Editable(nullable=true)
public ColorStateConfig colorState
- The color state for the projection.
ShadowConfig.SilhouetteTexture
public ShadowConfig.SilhouetteTexture()
createInfluence
public SceneInfluence createInfluence(GlContext ctx,
Scope scope,
LightConfig lightConfig,
Light viewLight,
ArrayList<Updater> updaters)
- Description copied from class:
ShadowConfig
- Creates the scene influence corresponding to this config.
- Specified by:
createInfluence in class ShadowConfig
updaters - a list to populate with required updaters.