I have a problem when rendering an object with multiple textures in conjuction with Vuforia. The issue I'm describing can be found in the attached images.
1 - Point the camera to the first marker which then renders the "Coffee Machine" (see Second object.png). This object has only one texture that covers a small part of it.
2- Close ARView, deinit() Vuforia
3- Start ARView again and point camera to second marker which then renders the "Tea cups set" (see Artifacts-Blending-Videframe.png). The output is rendered incorrectly, and you can see parts of the videoframe instead of the texture.
If I point the camera to the second marker without rendering the "Coffee Machine" first, then it works fine (see Correct output.png)
I must point out that this issue happens only with Vuforia, as I have another GLView that uses the same loading, rendering and cleanup code but without using Vuforia, and it doesn't happen there.
Any pointers, hints or suggestions as to why such issue may arise are appreciated.
PS: let me know if you need to see any code snippets.