public class TexturedDiffuseShader extends DiffuseShader
Constructor and Description |
---|
TexturedDiffuseShader() |
Modifier and Type | Method and Description |
---|---|
Color |
getDiffuse(ShadingState state) |
boolean |
update(ParameterList pl,
SunflowAPI api)
Update this object given a list of parameters.
|
getRadiance, scatterPhoton
public boolean update(ParameterList pl, SunflowAPI api)
RenderObject
update
in interface RenderObject
update
in class DiffuseShader
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 DiffuseShader
Copyright © 2020. All rights reserved.