public class AlphaTexturedShinyPhong extends AlphaShinyPhong
Constructor and Description |
---|
AlphaTexturedShinyPhong() |
Modifier and Type | Method and Description |
---|---|
Color |
getDiffuse(ShadingState state) |
boolean |
update(ParameterList pl,
SunflowAPI api)
Update this object given a list of parameters.
|
getOpacity, getRadiance
scatterPhoton
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
scatterPhoton
public boolean update(ParameterList pl, SunflowAPI api)
RenderObject
update
in interface RenderObject
update
in class AlphaShinyPhong
pl
- list of parameters to read fromapi
- reference to the current scenetrue
if the update is succesfull,
false
otherwisepublic Color getDiffuse(ShadingState state)
getDiffuse
in class PhongShader
Copyright © 2020. All rights reserved.