raytracer
Interface ILight

All Known Implementing Classes:
OmniLight, PointLight

public interface ILight

interface for lights


Method Summary
 void computeDirectLighting(IntersectionInfo intersection, RayState rs, Raycaster raycaster, IBSDF brdf, RGBColor amount)
          computes the lighting at the intersection point
 

Method Detail

computeDirectLighting

void computeDirectLighting(IntersectionInfo intersection,
                           RayState rs,
                           Raycaster raycaster,
                           IBSDF brdf,
                           RGBColor amount)
computes the lighting at the intersection point

Parameters:
intersection - [in] intersection information
rs - [in] state of the raytracer
raycaster - [in]
brdf - [in]
amount - [in/out] the color of the ray