Hello Guest

Author Topic: TileMap Lighting at Chunk borders  (Read 3771 times)

Pfaeff

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 25
    • View Profile
TileMap Lighting at Chunk borders
« 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

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: TileMap Lighting at Chunk borders
« Reply #1 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.

Pfaeff

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 25
    • View Profile
Re: TileMap Lighting at Chunk borders
« Reply #2 on: August 26, 2013, 03:07:04 pm »
That seems to work. Thank you very much.