org.rajawali3d.materials.methods / DiffuseMethod

DiffuseMethod

abstract class DiffuseMethod
abstract class DiffuseMethod

Contains a collection of diffuse shading methods. These methods are used by materials that have lighting enabled. Diffuse shading determines the color of a material when a light shines on it. To use a diffuse method you need to create an instance of one of the classes and then assign it to a material using the Material#setDiffuseMethod(IDiffuseMethod) method:


  material.setDiffuseMethod(new DiffuseMethod.Lambert());
  

Author
dennis.ippel

See Also
<a href="http://en.wikipedia.org/wiki/Diffuse_reflection">http://en.wikipedia.org/wiki/Diffuse_reflection</a>