org.sunflow.core.shader
public class TexturedAmbientOcclusionShader extends AmbientOcclusionShader
Constructor and Description |
---|
TexturedAmbientOcclusionShader() |
Modifier and Type | Method and 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