# Antialiased ZDepth out of Action?

**URL:** <https://forum.logik.tv/t/antialiased-zdepth-out-of-action/4440>\
**Category:** Flame Questions\
**Tags:** action\
**Created:** [November 18, 2021, 1:03am UTC](https://forum.logik.tv/t/antialiased-zdepth-out-of-action/4440 "2021-11-18T01:03:13Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![milanesa](https://avatars.discourse-cdn.com/v4/letter/m/b77776/32.png) [@milanesa](https://forum.logik.tv/u/milanesa)\
**Post date:** [November 18, 2021, 1:03am UTC](https://forum.logik.tv/t/antialiased-zdepth-out-of-action/4440/1 "2021-11-18T01:03:13Z")

</div>

Title says it all… Any standard way of doing this? I have come up with a workaround using the Fog option in the Camera… but would to like to know if there is a less ugly solution.  
Gracias!

---

<div class="post-metadata">

**Author:** ![andy\_dill](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.logik.tv/andy_dill/32/15475_2.png) [@andy\_dill](https://forum.logik.tv/u/andy_dill)\
**Post date:** [November 18, 2021, 1:17am UTC](https://forum.logik.tv/t/antialiased-zdepth-out-of-action/4440/2 "2021-11-18T01:17:52Z")

</div>

Render it oversized and scale it down?

You could also try applying a gradient projector looking from way above. I don’t think you can do it isometrically, but it should look correct enough if it’s far away.

---

<div class="post-metadata">

**Author:** ![milanesa](https://avatars.discourse-cdn.com/v4/letter/m/b77776/32.png) [@milanesa](https://forum.logik.tv/u/milanesa)\
**Post date:** [November 18, 2021, 1:26am UTC](https://forum.logik.tv/t/antialiased-zdepth-out-of-action/4440/3 "2021-11-18T01:26:09Z")

</div>

Projections are a bit more tricky if the camera is moving. Oversized render could work. Camera FOG does the job too, but need to do it in a separated duplicated action node.  
Cool cool… was just checking I wasn’t missing a better option. Thank you Andy.

---

<div class="post-metadata">

**Author:** ![Ton](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.logik.tv/ton/32/5542_2.png) [@Ton](https://forum.logik.tv/u/Ton)\
**Post date:** [November 18, 2021, 11:35am UTC](https://forum.logik.tv/t/antialiased-zdepth-out-of-action/4440/4 "2021-11-18T11:35:48Z")

</div>

Maybe try the FXAA matchbox shader?

---

<div class="post-metadata">

**Author:** ![milanesa](https://avatars.discourse-cdn.com/v4/letter/m/b77776/32.png) [@milanesa](https://forum.logik.tv/u/milanesa)\
**Post date:** [November 18, 2021, 11:59am UTC](https://forum.logik.tv/t/antialiased-zdepth-out-of-action/4440/5 "2021-11-18T11:59:19Z")

</div>

Yeah!  
I was wondering how does the “Object Matte” node does the filtering…. thats it. Thank you @Ton .

---

<div class="post-metadata">

**Author:** ![chrislovesflame](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.logik.tv/chrislovesflame/32/103_2.png) [@chrislovesflame](https://forum.logik.tv/u/chrislovesflame)\
**Post date:** [November 19, 2021, 3:11am UTC](https://forum.logik.tv/t/antialiased-zdepth-out-of-action/4440/6 "2021-11-19T03:11:45Z")

</div>

You need to set Accumulation to All on your Action output. This turns on filtering for all data passes.

 ![accu](https://us1.discourse-cdn.com/flex020/uploads/thedepartmentofexternalservices/original/2X/f/f015a0ae93915bfac042734a4500b3df6e6d1e32.jpeg)

---

<div class="post-metadata">

**Author:** ![milanesa](https://avatars.discourse-cdn.com/v4/letter/m/b77776/32.png) [@milanesa](https://forum.logik.tv/u/milanesa)\
**Post date:** [November 19, 2021, 3:22am UTC](https://forum.logik.tv/t/antialiased-zdepth-out-of-action/4440/7 "2021-11-19T03:22:04Z")

</div>

Ah ha! That’s the real solution.  
Thank you @chrislovesflame  
A
