Unity baked lightmap problem (zigzag shadows)

3k Views Asked by At

There is a reoccurring problem in my unity project. After generating baked lightmaps I get some "zigzag" effect instead of smooth shadows on multiple objects as shown on the attached image. The zigzag runs along the edges of the model.

click for image

2

There are 2 best solutions below

1
On

There can be multiple reasons:

  • Low lightmap resolution (visible edges)
  • Too dim light (low sample count - light fades away quickly)
  • Not enough samples on your object
  • Low texture resolution (low lightmap details can be applied)

Here are custom settings that we are using in our project, they give pretty good result: baked light settings

0
On

Make sure the UV map of the model doesn't have too much stretching because it would also stretch the lightmap and make it look pixelated. This may not be the issue but it's worth checking.