traggett / UnitySpriteShaders

An Uber Shader for rendering Sprites in Unity.
MIT License
784 stars 61 forks source link

Shaders are broken after upgrade to 5.6 #7

Closed alastaira closed 7 years ago

alastaira commented 7 years ago

Just upgraded my project from Unity 5.5 to 5.6, and also downloaded the latest version of the UnitySpriteShaders archive, and it seems like this has broken all the sprite materials in my project - specifically, there is no alpha cutoff and all lighting seems all wrong - see below:

Unity 5.5.2f1: 5 5

Unity 5.6.0f3: 5 6

I've also tried creating a brand new material in the new project, but that seems wrong as well.

I'm guessing it's related to the same issues described in (the first of which also proposes a solution):

traggett commented 7 years ago

Hey! Cripes yeah I just tried this and got the same results. I've changed the shaders to deal with external alpha textures in the same way Unitys shaders do now in Unity 5.6 and that seems to fix it, could you get latest and see if its working for you now too?

alastaira commented 7 years ago

Hey - yep, that seems to have fixed it again. Thanks so much for the super-speedy attention! ;)