Skip to content

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

License

Notifications You must be signed in to change notification settings

huwb/lightflood

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published