public class TransparentShinyPhong extends AlphaPhongShader
Constructor and Description |
---|
TransparentShinyPhong() |
Modifier and Type | Method and Description |
---|---|
Color |
getRadiance(ShadingState state)
Gets the radiance for a specified rendering state.
|
boolean |
update(ParameterList pl,
SunflowAPI api)
Update this object given a list of parameters.
|
getOpacity
getDiffuse, 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 AlphaPhongShader
pl
- list of parameters to read fromapi
- reference to the current scenetrue
if the update is succesfull,
false
otherwisepublic Color getRadiance(ShadingState state)
Shader
getRadiance
in interface Shader
getRadiance
in class AlphaPhongShader
state
- current render stateCopyright © 2019. All rights reserved.