# HTML5 Transparent background for compositing

**URL:** <https://forums.unrealengine.com/t/html5-transparent-background-for-compositing/36287>\
**Category:** Platform & Builds\
**Tags:** html, unreal-engine\
**Created:** [July 23, 2015, 9:37am UTC](https://forums.unrealengine.com/t/html5-transparent-background-for-compositing/36287 "2015-07-23T09:37:44Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![RisingSunGames](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@RisingSunGames](https://forums.unrealengine.com/u/RisingSunGames)\
**Post date:** [July 23, 2015, 9:37am UTC](https://forums.unrealengine.com/t/html5-transparent-background-for-compositing/36287/1 "2015-07-23T09:37:44Z")

</div>

Hi guys,

Hoping for a quick answer here, I think the answer is NO, but just want to double-check as I’m still learning the ropes of UE.

I’m wondering is if it is possible to create a HTML5 project that has a transparent background when run in the browser?

If this seems like a silly question, forgive me, I’m thinking in terms of compositing the output.

Thanks in advance =)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_a08c0bf2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_a08c0bf2](https://forums.unrealengine.com/u/anonymous_user_a08c0bf2)\
**Post date:** [July 23, 2015, 3:45pm UTC](https://forums.unrealengine.com/t/html5-transparent-background-for-compositing/36287/2 "2015-07-23T15:45:07Z")

</div>

Hey,

Currently, there is not a way to implement a transparent background on any platform with UE4. I am not sure whether or not this will be added in the future however, it’s not possible at this time. I hope this helps. Have a great day! 🙂

---

<div class="post-metadata">

**Author:** ![RisingSunGames](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@RisingSunGames](https://forums.unrealengine.com/u/RisingSunGames)\
**Post date:** [July 23, 2015, 4:09pm UTC](https://forums.unrealengine.com/t/html5-transparent-background-for-compositing/36287/3 "2015-07-23T16:09:06Z")

</div>

Thanks for the reply - I guess next best option is to have a flat coloured background and use JS to filter out the background colour, if possible.

Cheers! =)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_a08c0bf2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_a08c0bf2](https://forums.unrealengine.com/u/anonymous_user_a08c0bf2)\
**Post date:** [July 23, 2015, 8:19pm UTC](https://forums.unrealengine.com/t/html5-transparent-background-for-compositing/36287/4 "2015-07-23T20:19:46Z")

</div>

You’re very welcome, let us know if you have any further questions. Have fun designing your game! 🙂
