Hello, we are using the iOS SDK and are noticing that if an image contains transparency (alpha channel AlphaPremultipliedLast) then it will sporadically display with a glitchy background.
See the glitch behind “Kelley Automotive Group” store logo.
Below that is the “storelogo” effect we are loading with each node/quad highlighted to show the settings/properties.
We are setting the image using:
deepAR.changeParameter("Quad", component: "MeshRenderer", parameter: "s_texColor", image: selectedImage)
We load the effect on screen load with:
deepAR.switchEffect(withSlot: "logos", path: path)
And we turn enabled hide (show the logo) with the following code:
deepAR.changeParameter("LogoNode", component: "", parameter: "enabled", boolValue: logoMode)
Any idea why these transparent images appear with a glitchy background? The glitchy pattern can differ as well.
Other notes:
- Already tried updating iOS SDK same issue
- Tried client-side code to change the alpha channel to preMultipliedFirst, mostly same issue
- Tried different timings, like waiting a few seconds after deepar is initialized to load the logo, same issue.
- Exhausted all Claude Opus and ChatGPT 4o recommended solutions, it seems to believe this is an issue with the DeepAR SDK
Any help would be appreciated.
Thanks,
Ross Barbish
DriveCentric