de.grogra.ray.light
public class Shadows extends java.lang.Object implements ShadowProcessor
| Constructor and Description |
|---|
Shadows(IntersectionProcessor processor) |
| Modifier and Type | Method and Description |
|---|---|
void |
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.
|
public Shadows(IntersectionProcessor processor)
public void setIntersectionProcessor(IntersectionProcessor processor)
public boolean shadowRay(Ray light, float length, Ray view, IntersectionDescription desc)
ShadowProcessorshadowRay in interface ShadowProcessor