# Anti-Aliasing effect not working with OIT

**URL:** <https://forum.babylonjs.com/t/anti-aliasing-effect-not-working-with-oit/33082>\
**Category:** Bugs\
**Created:** [August 16, 2022, 9:35am UTC](https://forum.babylonjs.com/t/anti-aliasing-effect-not-working-with-oit/33082 "2022-08-16T09:35:16Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![L1v3](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/l1v3/32/25634_2.png) [@L1v3](https://forum.babylonjs.com/u/L1v3)\
**Post date:** [August 16, 2022, 9:35am UTC](https://forum.babylonjs.com/t/anti-aliasing-effect-not-working-with-oit/33082/1 "2022-08-16T09:35:17Z")

</div>

Hello everyone,

I’m aware that OIT is still in beta and the documentation states that some Post Process effects might not work, for now. The documentation also states that we should report any issue we found with the PP effect. For my use case, the AA is not working at all with OIT enabled.

I wonder if this is a very difficult fix, we are in need of OIT + AA. Is there a known workaround for this at the moment?

I’ve created a small sample with Playground, just toggle the checkbox and check the green sphere (AA/NoAA are more noticeable there)

[glTF Loader Demo | Babylon.js Playground (babylonjs.com)](https://playground.babylonjs.com/#WGZLGJ#5823)

Thank you for the assistance!

---

<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:** [August 16, 2022, 11:24am UTC](https://forum.babylonjs.com/t/anti-aliasing-effect-not-working-with-oit/33082/2 "2022-08-16T11:24:34Z")

</div>

Pinging @CraigFeldspar the author of OIT, I’ll add AA as a known limitation, thanks!

---

<div class="post-metadata">

**Author:** ![Nowayz](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/nowayz/32/26674_2.png) [@Nowayz](https://forum.babylonjs.com/u/Nowayz)\
**Post date:** [August 16, 2022, 4:57pm UTC](https://forum.babylonjs.com/t/anti-aliasing-effect-not-working-with-oit/33082/3 "2022-08-16T16:57:12Z")

</div>

I think the OIT is rendering to textures for the layers so you would need to turn up the sample count on each texture to get MSAA if that’s what you’re trying to do…

If you scene is mostly not in constant motion you could use a technique like temporal anti-aliasing as a post process step also.

---

<div class="post-metadata">

**Author:** ![L1v3](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/l1v3/32/25634_2.png) [@L1v3](https://forum.babylonjs.com/u/L1v3)\
**Post date:** [August 22, 2022, 11:39pm UTC](https://forum.babylonjs.com/t/anti-aliasing-effect-not-working-with-oit/33082/4 "2022-08-22T23:39:35Z")

</div>

Thank you for the advice!  
I’m sorry if I wasn’t explicit enough, but I’m trying to use TAA method as a Post Process step.
