|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.sunflow.core.shader.PhongShader
org.sunflow.core.shader.TexturedPhongShader
public class TexturedPhongShader
Constructor Summary | |
---|---|
TexturedPhongShader()
|
Method Summary | |
---|---|
Color |
getDiffuse(ShadingState state)
|
boolean |
update(ParameterList pl,
SunflowAPI api)
Update this object given a list of parameters. |
Methods inherited from class org.sunflow.core.shader.PhongShader |
---|
getRadiance, scatterPhoton |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TexturedPhongShader()
Method Detail |
---|
public boolean update(ParameterList pl, SunflowAPI api)
RenderObject
update
in interface RenderObject
update
in class PhongShader
pl
- list of parameters to read fromapi
- reference to the current scene
true
if the update is succesfull,
false
otherwisepublic Color getDiffuse(ShadingState state)
getDiffuse
in class PhongShader
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |