# UE4 run in web-browser with transparent context background

**URL:** <https://forums.unrealengine.com/t/ue4-run-in-web-browser-with-transparent-context-background/456291>\
**Category:** Rendering\
**Tags:** webgl, graphics-programming, unreal-engine, Rendering, CPP, question\
**Created:** [October 1, 2019, 7:24pm UTC](https://forums.unrealengine.com/t/ue4-run-in-web-browser-with-transparent-context-background/456291 "2019-10-01T19:24:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![gomi](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/gomi/32/1148548_2.png) [@gomi](https://forums.unrealengine.com/u/gomi)\
**Post date:** [October 1, 2019, 7:24pm UTC](https://forums.unrealengine.com/t/ue4-run-in-web-browser-with-transparent-context-background/456291/1 "2019-10-01T19:24:39Z")

</div>

Hello, I want to use UE4 in web browser I found that that is possible. Now I want to learn if that is possible to render the context without clearing background. That is possible with WEBGL. Normally, you clear background with :

_ctx.clear(ctx.COLOR\_BUFFER\_BIT | ctx.DEPTH\_BUFFER\_BIT);_

so from sample code I just comment this line/do not use it and I get my 3d object drawn with transparent background. So, when I got the print of that result to other program that gets only the drawn 3d object and I can just put it front of anything. Note that rendering it with same color of web browser’s background color will not be considered as transparent by program. I know this question will be too low level but if there is a way that will be huge difference for me.
