public class TexturedPhongShader extends PhongShader
| Constructor and Description |
|---|
TexturedPhongShader() |
| 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, scatterPhotonpublic boolean update(ParameterList pl, SunflowAPI api)
RenderObjectupdate in interface RenderObjectupdate in class PhongShaderpl - 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 PhongShaderCopyright © 2017. All rights reserved.