# FluidRenderer - background color with alpha

**URL:** <https://forum.babylonjs.com/t/fluidrenderer-background-color-with-alpha/38831>\
**Category:** Questions\
**Created:** [March 7, 2023, 7:13pm UTC](https://forum.babylonjs.com/t/fluidrenderer-background-color-with-alpha/38831 "2023-03-07T19:13:20Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jozef\_Plata](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/jozef_plata/32/30733_2.png) [@Jozef\_Plata](https://forum.babylonjs.com/u/Jozef_Plata)\
**Post date:** [March 7, 2023, 7:13pm UTC](https://forum.babylonjs.com/t/fluidrenderer-background-color-with-alpha/38831/1 "2023-03-07T19:13:20Z")

</div>

Hi,

So usually when I want to have transparent background I do:

```auto
scene.clearColor = new BABYLON.Color4(0, 0, 0, 0);

```

But when using FluidRenderer, alpha does not work… Is it possible to render transparent background with FluidRenderer?

> **[Babylon.js Playground](https://playground.babylonjs.com/#Z0TBBD%2311)**
>
> Babylon.js playground is a live editor for Babylon.js WebGL 3D scenes

---

<div class="post-metadata">

**Author:** ![sebavan](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/sebavan/32/57_2.png) [@sebavan](https://forum.babylonjs.com/u/sebavan)\
**Post date:** [March 7, 2023, 9:08pm UTC](https://forum.babylonjs.com/t/fluidrenderer-background-color-with-alpha/38831/2 "2023-03-07T21:08:09Z")

</div>

I am not sure it can be compatible considering the technique in use. cc @Evgeni_Popov

---

<div class="post-metadata">

**Author:** ![carolhmj](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/carolhmj/32/25918_2.png) [@carolhmj](https://forum.babylonjs.com/u/carolhmj)\
**Post date:** [April 6, 2023, 2:03pm UTC](https://forum.babylonjs.com/t/fluidrenderer-background-color-with-alpha/38831/3 "2023-04-06T14:03:20Z")

</div>

Assigned @Evgeni\_Popov on April 6, 2023, 2:03pm UTC



---

<div class="post-metadata">

**Author:** ![Evgeni\_Popov](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/evgeni_popov/32/4432_2.png) [@Evgeni\_Popov](https://forum.babylonjs.com/u/Evgeni_Popov)\
**Post date:** [April 6, 2023, 3:33pm UTC](https://forum.babylonjs.com/t/fluidrenderer-background-color-with-alpha/38831/4 "2023-04-06T15:33:03Z")

</div>

Sorry, I missed this one!

This PR will fix the problem:

> <https://github.com/BabylonJS/Babylon.js/pull/13716>
>
> See https://forum.babylonjs.com/t/fluidrenderer-background-color-with-alpha/3883…1/2

---

<div class="post-metadata">

**Author:** ![sebavan](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/sebavan/32/57_2.png) [@sebavan](https://forum.babylonjs.com/u/sebavan)\
**Post date:** [April 6, 2023, 6:05pm UTC](https://forum.babylonjs.com/t/fluidrenderer-background-color-with-alpha/38831/5 "2023-04-06T18:05:54Z")

</div>

Unassigned @Evgeni\_Popov on April 6, 2023, 6:05pm UTC


