Gvin / CodeMagic

A small ASCII Roguelike RPG with magic based on physics + programming.
GNU General Public License v3.0
2 stars 1 forks source link

Implement Smooth Lighting #56

Closed Gvin closed 5 years ago

Gvin commented 5 years ago

Lighting should be smooth for cell. Each cell pixel should have lighting level calculated depending on neighbor cells.

Gvin commented 5 years ago

Got results from image 1.

image Image 1 - Smooth lighting prototype

However sometimes smooth lighting "destroys" visible wall line (see image 2)

image Image 2 - Player facing wall