Lighting System - JayhawkZombie/EECS581Project GitHub Wiki

The Engine uses a lighting system based on a sweeping raycast. The engine-independent code is here.
It is CPU-bound currently, so do everything possible to reduce the number of object that are being tested.

NewExample

Here's another example with the weight on the light's color turned up, the max intensity turned down a bit, and the minimum intensity turned down.

AnotherExample

YetAnotherExample

Video Demo

MovingLightExample

SweepingExample