Hello
Guest
Home
Help
Search
Login
Register
2D Toolkit Forum
»
2D Toolkit
»
Support
»
Disable overriding of material shader?
« previous
next »
Print
Pages: [
1
]
Author
Topic: Disable overriding of material shader? (Read 4688 times)
aCallum
Newbie
Posts: 5
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
Logged
unikronsoftware
Administrator
Hero Member
Posts: 9709
Re: Disable overriding of material shader?
«
Reply #1 on:
August 16, 2013, 12:19:29 pm »
How have you done this?
Logged
aCallum
Newbie
Posts: 5
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!
Logged
Print
Pages: [
1
]
« previous
next »
2D Toolkit Forum
»
2D Toolkit
»
Support
»
Disable overriding of material shader?