Rings
Version 0.2

threeD.raytracer.engine
Interface Shader

All Superinterfaces:
ColorProducer, Producer
All Known Implementing Classes:
DiffuseShader, HighlightShader, ReflectionShader, RefractionShader, ShaderSet, 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 threeD.raytracer.graphics.ColorProducer
evaluate
 

Method Detail

shade

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


Rings
Version 0.2

Copyright 2003-05 Mike Murray