Skip to content

Latest commit

 

History

13 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Light2D

Realtime 2D Raytracing in Unity using Signed Distance Fields

Screenshots

Features

  • Realtime raytracing on average GPUs!
  • Optimized with Jump Flood Voronoi algorithm for distance field calculation in O(log n)
  • Screen space effect - supports all kinds of models/sprites/other effects
  • Individual objects/layers can be in- or excluded
  • Easy to set up & includes examples

WIP! Documentation coming soon... (maybe)

ToDo

  • Allow blending RenderTextures and Light2D output
  • Enable variable light texture resolutions to improve performance
  • Implement nonemissive objects that still contribute to GI
  • Implement subsurface scattering
  • Implement Light bounces

License

This project is licensed under the MIT License - see the LICENSE file for details.

forthebadge forthebadge

About

Realtime 2D Raytracing in Unity using Signed Distance Fields 💡

Topics

Resources

Stars

90 stars

Watchers

4 watching

Forks

Releases

Packages

Contributors

Languages