org.rajawali3d.materials.methods / SpecularMethod

SpecularMethod

abstract class SpecularMethod
abstract class SpecularMethod

Contains a collection of diffuse shading methods. These methods are used by materials that have lighting enabled. A specular highlight is the bright spot of light that appears on shiny objects when illuminated. The term specular means that light is perfectly reflected in a mirror-like way from the light source to the viewer. To use a specular method you need to create an instance of one of the classes and then assign it to a material using the Material#setSpecularMethod(ISpecularMethod) method:


  material.setSpecularMethod(new SpecularMethod.Phong());
  

Author
dennis.ippel

See Also
http