# NativeEngine render target texture not working with MSAA

**URL:** <https://forum.babylonjs.com/t/nativeengine-render-target-texture-not-working-with-msaa/42329>\
**Category:** Questions\
**Created:** [July 11, 2023, 8:03pm UTC](https://forum.babylonjs.com/t/nativeengine-render-target-texture-not-working-with-msaa/42329 "2023-07-11T20:03:27Z")\
**Posts on this page:** 1\
**Showing post:** 18

<div class="post-metadata">

**Author:** ![Anupam\_Das](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/anupam_das/32/16709_2.png) [@Anupam\_Das](https://forum.babylonjs.com/u/Anupam_Das)\
**Post date:** [July 21, 2023, 2:49pm UTC](https://forum.babylonjs.com/t/nativeengine-render-target-texture-not-working-with-msaa/42329/18 "2023-07-21T14:49:02Z")

</div>

update: We got it working as long as we dont have a transparent background. The way we handle transparent backgrounds is like this and in that case MSAA does not work. (we’re rendering a BG camera and main FG camera and comping them together) similar to this:

> **[Babylon.js Playground](https://www.babylonjs-playground.com/#08A2BS%23182)**
>
> Babylon.js playground is a live editor for Babylon.js WebGL 3D scenes

from this thread:

> [@Adding a background image that is not affected by the Default Rendering Pipeline post processes](https://forum.babylonjs.com/t/adding-a-background-image-that-is-not-affected-by-the-default-rendering-pipeline-post-processes/34494/2):
>
> Hmm. I’m not too sure about the layer object. I can do it with a plane but not with a layer Calling in @Evgeni_Popov on your case. He’s the ultimate master for this. grinning wink

investigating this today. If you have any thoughts please chime in.

---

_[View the full topic](https://forum.babylonjs.com/t/nativeengine-render-target-texture-not-working-with-msaa/42329)._
