public interface ShadowProcessor
A ShadowProcessor have to decide wether a possibly light/shadow ray
realy illuminates the specified intersection point.
This interface makes shadow calculations exchangeable.
- Author:
- Micha
-
Method Summary
Modifier and TypeMethodDescriptionboolean
shadowRay
(Ray light, float length, Ray view, IntersectionDescription desc) Calculate to shadowed color of the light ray to the specified point.
-
Method Details
-
shadowRay
Calculate to shadowed color of the light ray to the specified point.- Parameters:
ray
-- Returns:
- True if the the light ray is totally shadowed.
-