Hi,
I'd like to use a special shader for a specific sprite, so I've created an atlas and have assigned my custom material to that Atlas. It's working fine if my sprite is on the root of my interface, but when I try to load my sprite resource and attach it to panel/container (using NGUITools.AddChild), it is displayed using another shader, not the one I wanted.
I've checked with the Show Draw Calls tool to investigate and it is reported to be displayed using my special shader albeit it is clearly not using it.
You can see it on the attached screenshot. On the left, it's using a regular shader, on the right my custom one (working).
Is there anything I should modify or check?
Thanks