RenderObject
, Shader
public 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, scatterPhoton
public boolean update(ParameterList pl, SunflowAPI api)
RenderObject
update
in interface RenderObject
update
in class AmbientOcclusionShader
pl
- 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