2D Toolkit Forum

2D Toolkit => Support => Topic started by: Pfaeff on August 26, 2013, 02:34:08 pm

Title: TileMap Lighting at Chunk borders
Post by: Pfaeff on August 26, 2013, 02:34:08 pm
Hi,

I am using unity lighting for my tilemap. It works fine, but I get flickering edges along the borders of a chunk. I tried to increase the chunk size to my map size, but it reverted back to a width of 32.
It doesn't look too bad on this screenshot, but it looks really weird when the light suddenly switches from bright to dark and vice versa:

https://dl.dropboxusercontent.com/u/27681596/chunkslighting.png

Any idea what could be causing this? Thank you.

Greetings,
Pfaeff
Title: Re: TileMap Lighting at Chunk borders
Post by: unikronsoftware on August 26, 2013, 02:38:17 pm
Its probably the max number of lights affecting a particular chunk - theres a setting in QualitySettings. Try increasing that.
Title: Re: TileMap Lighting at Chunk borders
Post by: Pfaeff on August 26, 2013, 03:07:04 pm
That seems to work. Thank you very much.