Removing background in Unity WebGL

Hi everyone,

I’m currently working on a Unity WebGL project using Convai SDK 3.0.1 and I’m trying to remove the background so that only my avatar appears in the scene. Unfortunately, I haven’t been able to achieve this so far. I’ve tried adjusting the scene and camera settings, but the background is still visible.

Does anyone know how I can remove the background completely or make it transparent in a Unity WebGL build?

Thank you!

Which background? Could you please share a video?

Hi @K3

Thanks for the response.

I need my Unity WebGL output to render exclusively the avatar with a transparent background (alpha channel), removing the skybox and any background rendering, for compatibility with holographic displays like Holobox or holographic fan devices.

I ‘ve set the Skybox Material → None and the Camera set Clear Flags → Solid Color & Background Color → RGBA (0,0,0,0) but still have the background appear.

Do you have experience with rendering a Unity avatar with a fully transparent background, so it can be exported for use in holographic displays like Holobox or holographic fans?

Hi everyone,

Just wanted to gently follow up on my previous question about rendering a Unity WebGL avatar with a transparent background for holographic displays.

Any insights would be really appreciated, thanks in advance!

I may be missing something, but I couldn’t understand which part of this question is related to Convai. Could you please clarify?

I’m trying to make the avatar work in a Holobox setup, which requires a transparent environment where only the avatar is visible.

So essentially, my challenge is getting the Convai avatar to render correctly in this setup (with transparency and no background) and function properly in WebGL.

I’ve attempted to implement this but haven’t been successful so far, so I’m looking for guidance or examples from anyone who may have done something similar.

As mentioned, this seems more related to general Unity/WebGL implementation than to Convai specifically.

I don’t have direct experience with that setup myself, so I’d recommend checking Unity forums and other online resources, or trying to implement it with the help of an AI coding assistant.

Okay, thank you!