java.lang.Object
de.grogra.ray.light.Shadows
- All Implemented Interfaces:
ShadowProcessor
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setIntersectionProcessor
(IntersectionProcessor processor) boolean
shadowRay
(Ray light, float length, Ray view, IntersectionDescription desc) Calculate to shadowed color of the light ray to the specified point.
-
Constructor Details
-
Shadows
-
-
Method Details
-
setIntersectionProcessor
-
shadowRay
Description copied from interface:ShadowProcessor
Calculate to shadowed color of the light ray to the specified point.- Specified by:
shadowRay
in interfaceShadowProcessor
- Returns:
- True if the the light ray is totally shadowed.
-