2D Toolkit Forum

2D Toolkit => Support => Topic started by: ahtram on August 14, 2015, 11:13:36 am

Title: tk2d lit shaders stop work in vertex light rendering after upgrade to Unity5
Post by: ahtram on August 14, 2015, 11:13:36 am
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?
Title: Re: tk2d lit shaders stop work in vertex light rendering after upgrade to Unity5
Post by: unikronsoftware on August 17, 2015, 11:55:35 am
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.