RenderObject, Shaderpublic class TexturedAmbientOcclusionShader extends AmbientOcclusionShader
| Constructor | Description |
|---|---|
TexturedAmbientOcclusionShader() |
| Modifier and Type | Method | Description |
|---|---|---|
Color |
getBrightColor(ShadingState state) |
|
boolean |
update(ParameterList pl,
SunflowAPI api) |
Update this object given a list of parameters.
|
getOpacity, getRadiance, isOpaque, scatterPhotonpublic boolean update(ParameterList pl, SunflowAPI api)
RenderObjectupdate in interface RenderObjectupdate in class AmbientOcclusionShaderpl - list of parameters to read fromapi - reference to the current scenetrue if the update is succesfull,
false otherwisepublic Color getBrightColor(ShadingState state)
getBrightColor in class AmbientOcclusionShader