2D Toolkit Forum

2D Toolkit => Support => Topic started by: kathode on July 24, 2014, 01:08:32 am

Title: Possible to fade in/out tilemaps?
Post by: kathode on July 24, 2014, 01:08:32 am
Hi,

I'm experimenting with different ways to do level changes and I'd love to be able to cross-fade between two tilemaps. However a bit of experimentation reveals this to not be possible, at least with the default materials and shaders, due to not having a color property. Is there a shader I can use that will enable this? I really have very little knowledge of shaders so any help would be appreciated. Thanks!
Title: Re: Possible to fade in/out tilemaps?
Post by: unikronsoftware on July 24, 2014, 10:48:22 am
http://answers.unity3d.com/questions/189695/add-color-property-to-unlit-alpha.html
Title: Re: Possible to fade in/out tilemaps?
Post by: kathode on July 24, 2014, 03:45:34 pm
Thanks, I replaced the BlendVertexColor shader wholesale with that one and it seems to work. I assume I'm giving something up by doing that, but I don't have plans to use the vertex coloring features on the tilemap, so I think I should be ok, hopefully.