1
NGUI 3 Support / NGUI Sprites get garbled when used along with the Vuforia AR plugin
« on: January 04, 2015, 08:14:03 PM »
Hello,
I'm working with the Vuforia AR plugin, and NGUI Sprites keep getting garbled when used together: alpha channel gone (now black bg), letters in text become rectangles.
I've tried a few things, such as forcing Unity to include the shaders provided by NGUI, to no avail.
Vuforia creators think this might be due to the shaders' render queue: https://developer.vuforia.com/forum/unity-3-extension-technical-discussion/ngui-vuforia
This is something I haven't tested and am not even quite sure how to test.
Last thing: in the attachment screenshot you will see a garbled NGUI Sprite. Underneath it, however, is a texture that Vuforia uses, which preserves its alpha and seems to be unaffected.
Thanks for reading.
I'm working with the Vuforia AR plugin, and NGUI Sprites keep getting garbled when used together: alpha channel gone (now black bg), letters in text become rectangles.
I've tried a few things, such as forcing Unity to include the shaders provided by NGUI, to no avail.
Vuforia creators think this might be due to the shaders' render queue: https://developer.vuforia.com/forum/unity-3-extension-technical-discussion/ngui-vuforia
This is something I haven't tested and am not even quite sure how to test.
Last thing: in the attachment screenshot you will see a garbled NGUI Sprite. Underneath it, however, is a texture that Vuforia uses, which preserves its alpha and seems to be unaffected.
Thanks for reading.