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, scatterPhoton
public boolean update(ParameterList pl, SunflowAPI api)
RenderObject
update
in interface RenderObject
update
in class PhongShader
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 © 2019. All rights reserved.