Skip to content

Latest commit

 

History

History
18 lines (10 loc) · 964 Bytes

README.md

File metadata and controls

18 lines (10 loc) · 964 Bytes

lightflood

Experimental progressive GI renderer in Unity using physics raycasts for light rays

Teaser

Overview

This is a hacky experimental CPU progressive lightmapper. Geometry is represented as collideable quads. Quads because lightmap UVs become trivial, and collideable because rays are cast using Physics.Raycast.

None of this is highly performant (although it does update interactively for small scenes), nor is it highly suitable for production scenarios in its current state. The primary goal here was to have fun and make something lightweight and easy to experiment with.

Instructions

The scene should 'just work', last opened in Unity 5.5.

Enable or disable gameobjects in the scene to change it as desired - no scene configuration etc is required, everything is dynamic.

You can fly around with WASD/arrow keys. Press space to shoot bouncy spheres of light.