# Depth of field on translucent material?

**URL:** <https://forums.unrealengine.com/t/depth-of-field-on-translucent-material/287253>\
**Category:** Asset Creation\
**Tags:** Depth-Of-Field, unreal-engine, question\
**Created:** [July 2, 2014, 6:49pm UTC](https://forums.unrealengine.com/t/depth-of-field-on-translucent-material/287253 "2014-07-02T18:49:08Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pinepanda\_1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Pinepanda\_1](https://forums.unrealengine.com/u/Pinepanda_1)\
**Post date:** [July 2, 2014, 6:49pm UTC](https://forums.unrealengine.com/t/depth-of-field-on-translucent-material/287253/1 "2014-07-02T18:49:08Z")

</div>

My translucent/additive materials do not seem to be affected by depth of field. Any ideas?

---

<div class="post-metadata">

**Author:** ![Jacky](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jacky/32/918690_2.png) [@Jacky](https://forums.unrealengine.com/u/Jacky)\
**Post date:** [July 2, 2014, 6:53pm UTC](https://forums.unrealengine.com/t/depth-of-field-on-translucent-material/287253/2 "2014-07-02T18:53:46Z")

</div>

Go to your material, under Details panel \> Translucency unclick **Enable Separate Translucency**.

---

<div class="post-metadata">

**Author:** ![Pinepanda\_1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Pinepanda\_1](https://forums.unrealengine.com/u/Pinepanda_1)\
**Post date:** [July 3, 2014, 2:14pm UTC](https://forums.unrealengine.com/t/depth-of-field-on-translucent-material/287253/3 "2014-07-03T14:14:08Z")

</div>

Thank you!

---

<div class="post-metadata">

**Author:** ![Pinepanda\_1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Pinepanda\_1](https://forums.unrealengine.com/u/Pinepanda_1)\
**Post date:** [July 3, 2014, 2:49pm UTC](https://forums.unrealengine.com/t/depth-of-field-on-translucent-material/287253/4 "2014-07-03T14:49:20Z")

</div>

Hi! Enableing separate translucency made the effect(ember) be affected by DOF but it seems as if depth of the particle is read by scene depth. If I hide all the other object in the scene, particles DOF correctly, but with other static meshes rendering, depth of the particles are all wonky. Help?

---

<div class="post-metadata">

**Author:** ![Volcano-Studios](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Volcano-Studios](https://forums.unrealengine.com/u/Volcano-Studios)\
**Post date:** [July 12, 2014, 11:09pm UTC](https://forums.unrealengine.com/t/depth-of-field-on-translucent-material/287253/5 "2014-07-12T23:09:48Z")

</div>

I can’t find any solution either.  
Anyone?

---

<div class="post-metadata">

**Author:** ![HypnoticShark](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@HypnoticShark](https://forums.unrealengine.com/u/HypnoticShark)\
**Post date:** [July 12, 2014, 11:29pm UTC](https://forums.unrealengine.com/t/depth-of-field-on-translucent-material/287253/6 "2014-07-12T23:29:37Z")

</div>

DOF does not work correctly with translucency afaik because translucency is not written to the depth buffer. Enabling separate translucency will make the material ignore dof and will not work with it.

---

<div class="post-metadata">

**Author:** ![Jacky](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jacky/32/918690_2.png) [@Jacky](https://forums.unrealengine.com/u/Jacky)\
**Post date:** [July 12, 2014, 11:38pm UTC](https://forums.unrealengine.com/t/depth-of-field-on-translucent-material/287253/7 "2014-07-12T23:38:26Z")

</div>

I had said **unclick** that property. It is enabled by default so you need to disable it.

---

<div class="post-metadata">

**Author:** ![Volcano-Studios](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Volcano-Studios](https://forums.unrealengine.com/u/Volcano-Studios)\
**Post date:** [July 12, 2014, 11:39pm UTC](https://forums.unrealengine.com/t/depth-of-field-on-translucent-material/287253/8 "2014-07-12T23:39:24Z")

</div>

Thank you for the quick answer.

I know that, however, in udk3 there was a simple solution to the problem just had to mark some option in the translucency ticks.

There no solution to that at all?

---

<div class="post-metadata">

**Author:** ![Volcano-Studios](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Volcano-Studios](https://forums.unrealengine.com/u/Volcano-Studios)\
**Post date:** [July 12, 2014, 11:42pm UTC](https://forums.unrealengine.com/t/depth-of-field-on-translucent-material/287253/9 "2014-07-12T23:42:11Z")

</div>

Well it doesn’t solve the problem, unchecking it gives it a dog of the bc behind it. Meaning if there’s no object it gets the horizon depth.

---

<div class="post-metadata">

**Author:** ![Jacky](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jacky/32/918690_2.png) [@Jacky](https://forums.unrealengine.com/u/Jacky)\
**Post date:** [July 12, 2014, 11:47pm UTC](https://forums.unrealengine.com/t/depth-of-field-on-translucent-material/287253/10 "2014-07-12T23:47:52Z")

</div>

Can you post a screenshot of what you are getting please?

---

<div class="post-metadata">

**Author:** ![Volcano-Studios](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Volcano-Studios](https://forums.unrealengine.com/u/Volcano-Studios)\
**Post date:** [July 15, 2014, 8:11pm UTC](https://forums.unrealengine.com/t/depth-of-field-on-translucent-material/287253/11 "2014-07-15T20:11:22Z")

</div>

Sorry it took me a while here it is  
as it is shown in the picture, the depth of the translucent material is taken only from whats behind and not its real place

 ![10376-depth_problem.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/e/e/9eeb4444ac81209aad942ddd1ebfb74aeb75e877.jpeg)

---

<div class="post-metadata">

**Author:** ![Volcano-Studios](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Volcano-Studios](https://forums.unrealengine.com/u/Volcano-Studios)\
**Post date:** [August 3, 2014, 12:06am UTC](https://forums.unrealengine.com/t/depth-of-field-on-translucent-material/287253/12 "2014-08-03T00:06:06Z")

</div>

Weel’ any news?

---

<div class="post-metadata">

**Author:** ![thobias\_2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@thobias\_2](https://forums.unrealengine.com/u/thobias_2)\
**Post date:** [January 20, 2015, 7:49am UTC](https://forums.unrealengine.com/t/depth-of-field-on-translucent-material/287253/13 "2015-01-20T07:49:11Z")

</div>

I have similar problem here - [Gaussian DoF on translucent material - Rendering - Epic Developer Community Forums](https://answers.unrealengine.com/questions/149139/gaussian-dof-on-translucent-material.html)

But still no correct solution.

---

<div class="post-metadata">

**Author:** ![Arty-McLabin](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/arty-mclabin/32/1012076_2.png) [@Arty-McLabin](https://forums.unrealengine.com/u/Arty-McLabin)\
**Post date:** [April 8, 2017, 8:23pm UTC](https://forums.unrealengine.com/t/depth-of-field-on-translucent-material/287253/14 "2017-04-08T20:23:41Z")

</div>

you shall really vote him up and mark his answer as solver if he helped you…

---

<div class="post-metadata">

**Author:** ![FATdan](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@FATdan](https://forums.unrealengine.com/u/FATdan)\
**Post date:** [July 23, 2020, 8:41am UTC](https://forums.unrealengine.com/t/depth-of-field-on-translucent-material/287253/15 "2020-07-23T08:41:21Z")

</div>

I’m still looking for a solution to this also. I actually couldn’t find the Enable Separate Translucency checkbox in the details panel.

---

<div class="post-metadata">

**Author:** ![indvdl\_software](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/indvdl_software/32/566709_2.png) [@indvdl\_software](https://forums.unrealengine.com/u/indvdl_software)\
**Post date:** [August 12, 2020, 5:21am UTC](https://forums.unrealengine.com/t/depth-of-field-on-translucent-material/287253/16 "2020-08-12T05:21:24Z")

</div>

It’s now **"Render After DOF"**

---

<div class="post-metadata">

**Author:** ![FATdan](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@FATdan](https://forums.unrealengine.com/u/FATdan)\
**Post date:** [August 12, 2020, 7:59am UTC](https://forums.unrealengine.com/t/depth-of-field-on-translucent-material/287253/17 "2020-08-12T07:59:42Z")

</div>

Brill. Thanks for that. Big help

---

<div class="post-metadata">

**Author:** ![Ghostbuster3D](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Ghostbuster3D](https://forums.unrealengine.com/u/Ghostbuster3D)\
**Post date:** [October 19, 2021, 5:35am UTC](https://forums.unrealengine.com/t/depth-of-field-on-translucent-material/287253/18 "2021-10-19T05:35:36Z")

</div>

So got around this by doing what foliage shaders do, I went to investigate a random foliage material, saw they were using a Param2D node that had inside it a Material Expression Texture Base with a slot for opacity mask, boom copyed it and connected to my material opacity slot with he texture I used for mine and it worked…  
Unfortunately I never found “Go to your material, under Details panel \> Translucency unclick Enable Separate Translucency.” tip, and it may be depricated or I am just not looking the the right place…

---

<div class="post-metadata">

**Author:** ![unbreakable0001](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@unbreakable0001](https://forums.unrealengine.com/u/unbreakable0001)\
**Post date:** [September 3, 2022, 2:47am UTC](https://forums.unrealengine.com/t/depth-of-field-on-translucent-material/287253/19 "2022-09-03T02:47:48Z")

</div>

Hi!

Would you explain how you did this? I ticked the “render after DOF” mentioned before, and it does get affected by DOF however it is the incorrect DOF. It is treated like whatever is behind it ☹ I would like to try what you’re saying but don’t know how to… How do I get a Param2d node, and a Material Expression Texture Base… video maybe?

Thanks!

---

<div class="post-metadata">

**Author:** ![Sammyjenkins](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sammyjenkins](https://forums.unrealengine.com/u/Sammyjenkins)\
**Post date:** [October 27, 2022, 6:29pm UTC](https://forums.unrealengine.com/t/depth-of-field-on-translucent-material/287253/20 "2022-10-27T18:29:17Z")

</div>

Under _ **Translucency \> Advanced** _ – Changing _Translucency Pass_ to **Before DOF** , fixed the issue on my glass material.

[Next page](https://forums.unrealengine.com/t/depth-of-field-on-translucent-material/287253.md?page=2)
