# Removing background in Unity WebGL

**URL:** <https://forum.convai.com/t/removing-background-in-unity-webgl/5957>\
**Category:** Unity SDK\
**Tags:** unity, webgl, question\
**Created:** [March 18, 2026, 2:50pm UTC](https://forum.convai.com/t/removing-background-in-unity-webgl/5957 "2026-03-18T14:50:43Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![demetris.loizou](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.convai.com/demetris.loizou/32/4286_2.png) [@demetris.loizou](https://forum.convai.com/u/demetris.loizou)\
**Post date:** [March 18, 2026, 2:50pm UTC](https://forum.convai.com/t/removing-background-in-unity-webgl/5957/1 "2026-03-18T14:50:43Z")

</div>

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!

---

<div class="post-metadata">

**Author:** ![K3](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.convai.com/k3/32/2611_2.png) [@K3](https://forum.convai.com/u/K3)\
**Post date:** [March 18, 2026, 4:04pm UTC](https://forum.convai.com/t/removing-background-in-unity-webgl/5957/2 "2026-03-18T16:04:30Z")

</div>

Which background? Could you please share a video?

---

<div class="post-metadata">

**Author:** ![demetris.loizou](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.convai.com/demetris.loizou/32/4286_2.png) [@demetris.loizou](https://forum.convai.com/u/demetris.loizou)\
**Post date:** [March 19, 2026, 6:34am UTC](https://forum.convai.com/t/removing-background-in-unity-webgl/5957/3 "2026-03-19T06:34:44Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![demetris.loizou](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.convai.com/demetris.loizou/32/4286_2.png) [@demetris.loizou](https://forum.convai.com/u/demetris.loizou)\
**Post date:** [March 23, 2026, 10:14am UTC](https://forum.convai.com/t/removing-background-in-unity-webgl/5957/4 "2026-03-23T10:14:45Z")

</div>

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!

---

<div class="post-metadata">

**Author:** ![K3](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.convai.com/k3/32/2611_2.png) [@K3](https://forum.convai.com/u/K3)\
**Post date:** [March 23, 2026, 10:17am UTC](https://forum.convai.com/t/removing-background-in-unity-webgl/5957/5 "2026-03-23T10:17:34Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![demetris.loizou](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.convai.com/demetris.loizou/32/4286_2.png) [@demetris.loizou](https://forum.convai.com/u/demetris.loizou)\
**Post date:** [March 23, 2026, 10:35am UTC](https://forum.convai.com/t/removing-background-in-unity-webgl/5957/6 "2026-03-23T10:35:03Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![K3](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.convai.com/k3/32/2611_2.png) [@K3](https://forum.convai.com/u/K3)\
**Post date:** [March 24, 2026, 1:08pm UTC](https://forum.convai.com/t/removing-background-in-unity-webgl/5957/7 "2026-03-24T13:08:55Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![demetris.loizou](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.convai.com/demetris.loizou/32/4286_2.png) [@demetris.loizou](https://forum.convai.com/u/demetris.loizou)\
**Post date:** [March 24, 2026, 1:11pm UTC](https://forum.convai.com/t/removing-background-in-unity-webgl/5957/8 "2026-03-24T13:11:50Z")

</div>

Okay, thank you!

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex004/uploads/convai/original/1X/e60ef96aa7334c5ccf6682f6c6dbc20fcfa96b49.png) [@system](https://forum.convai.com/u/system)\
**Post date:** [April 23, 2026, 1:12pm UTC](https://forum.convai.com/t/removing-background-in-unity-webgl/5957/9 "2026-04-23T13:12:28Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
