net.sf.j3d.threeD.raytracer.shaders
Interface Shader

All Superinterfaces:
ColorProducer, Producer
All Known Implementing Classes:
BlendingShader, CheckerBoardShader, DiffuseShader, HighlightShader, ReflectionShader, RefractionShader, RigidBodyStateShader, ShaderSet, SilhouetteShader, TextureShader

public interface Shader
extends ColorProducer

The Shader interface is implemented by classes that provide a method for shading a surface.


Method Summary
 RGB shade(ShaderParameters parameters)
          Returns an RGB object that represents the shaded color calculated using the values of the specified ShaderParameters object.
 
Methods inherited from interface net.sf.j3d.threeD.raytracer.graphics.ColorProducer
evaluate
 

Method Detail

shade

RGB shade(ShaderParameters parameters)
Returns an RGB object that represents the shaded color calculated using the values of the specified ShaderParameters object.