|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.sunflow.core.shader.AmbientOcclusionShader
org.sunflow.core.shader.TexturedAmbientOcclusionShader
public class TexturedAmbientOcclusionShader
Constructor Summary | |
---|---|
TexturedAmbientOcclusionShader()
|
Method Summary | |
---|---|
Color |
getBrightColor(ShadingState state)
|
boolean |
update(ParameterList pl,
SunflowAPI api)
Update this object given a list of parameters. |
Methods inherited from class org.sunflow.core.shader.AmbientOcclusionShader |
---|
getOpacity, getRadiance, isOpaque, scatterPhoton |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TexturedAmbientOcclusionShader()
Method Detail |
---|
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 scene
true
if the update is succesfull,
false
otherwisepublic Color getBrightColor(ShadingState state)
getBrightColor
in class AmbientOcclusionShader
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |