Hello Guest

Author Topic: Disable overriding of material shader?  (Read 3737 times)

aCallum

  • Newbie
  • *
  • Posts: 5
    • View Profile
Disable overriding of material shader?
« 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

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: Disable overriding of material shader?
« Reply #1 on: August 16, 2013, 12:19:29 pm »
How have you done this?

aCallum

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: Disable overriding of material shader?
« Reply #2 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!