2D Toolkit Forum

2D Toolkit => Support => Topic started by: aCallum on August 16, 2013, 12:17:14 pm

Title: Disable overriding of material shader?
Post by: aCallum on August 16, 2013, 12:17:14 pm
Hey guys, I have created a modified version of the standard tk2dBlendVertexColor shader, but at runtime it is reset to the default tk2d version. Is there a way to avoid this?

Cheers
Alastair
Title: Re: Disable overriding of material shader?
Post by: unikronsoftware on August 16, 2013, 12:19:29 pm
How have you done this?
Title: Re: Disable overriding of material shader?
Post by: aCallum on August 16, 2013, 12:21:39 pm
My mistake! I had not set the shader on the atlas' material! Simply on the material instance in the scene.

Cheers for the fast response though!