public class AlphaDiffuseShader extends DiffuseShader implements AlphaShader
| Constructor and Description |
|---|
AlphaDiffuseShader() |
| Modifier and Type | Method and Description |
|---|---|
Color |
getOpacity(ShadingState state) |
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.
|
getDiffuse, scatterPhotonclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitscatterPhotonpublic boolean update(ParameterList pl, SunflowAPI api)
RenderObjectupdate in interface RenderObjectupdate in class DiffuseShaderpl - list of parameters to read fromapi - reference to the current scenetrue if the update is succesfull,
false otherwisepublic Color getRadiance(ShadingState state)
ShadergetRadiance in interface ShadergetRadiance in class DiffuseShaderstate - current render statepublic Color getOpacity(ShadingState state)
getOpacity in interface AlphaShaderCopyright © 2017. All rights reserved.