Package eu.svjatoslav.aukio.e3d.renderer.raster.lighting
package eu.svjatoslav.aukio.e3d.renderer.raster.lighting
Lighting system for flat-shaded polygon rendering.
This package implements a simple Lambertian lighting model for shading solid polygons based on their surface normals relative to light sources.
Key classes:
LightingManager- Manages lights and calculates shadingLightSource- Represents a point light source
- See Also:
-
ClassDescriptionOptional distance haze ("atmospheric perspective"): geometry fades toward the sky color as camera-space depth grows, factor
f = 1 - exp(-depth / scale).Optional provider of global-illumination data forLightingManager.Manages light sources in the scene and calculates lighting for polygons.Represents a light source in the 3D scene with position, color, and intensity.