Skip to content

Latest commit

 

History

History
6 lines (4 loc) · 370 Bytes

README.md

File metadata and controls

6 lines (4 loc) · 370 Bytes

optimized-2d-lighting-unity

2d lighting, but optimized using mesh generation! This sricpt can be used to cast rays on the edges of nearby objects and then filling the space between the rays by generating a mesh in realtime. The mesh can be given a material made using a transparent shader which can be used to give it a natural look.