java.lang.Object
de.grogra.ray.light.Shadows
- All Implemented Interfaces:
ShadowProcessor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetIntersectionProcessor(IntersectionProcessor processor) booleanshadowRay(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:ShadowProcessorCalculate to shadowed color of the light ray to the specified point.- Specified by:
shadowRayin interfaceShadowProcessor- Returns:
- True if the the light ray is totally shadowed.
-