Hello Guest

Author Topic: tk2d lit shaders stop work in vertex light rendering after upgrade to Unity5  (Read 4314 times)

ahtram

  • Newbie
  • *
  • Posts: 2
    • View Profile
Unity 5 mark vertex light rendering as legacy. But my 2D game still using it since is blazing fast.
However, all tk2d serious lit shaders seems stop receiving light under this setting.
Is there a way solving this?

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Hi there,

The tk2d lit shaders are plain surface shaders, and it works the same way as any of the other lit shaders in Unity.
1 - You can try one of the unity default shaders to see if that works better.
2 - check that you have generate normals ticked in the sprite collection.

I'm guessing one of the above will fix it, as it works fine in my tests in Unity 5.10.