# Mesh with translucent material has DOF problems

**URL:** <https://forums.unrealengine.com/t/mesh-with-translucent-material-has-dof-problems/314451>\
**Category:** Rendering\
**Tags:** Depth-Of-Field, bug, translucent, unreal-engine, question\
**Created:** [April 9, 2015, 4:00pm UTC](https://forums.unrealengine.com/t/mesh-with-translucent-material-has-dof-problems/314451 "2015-04-09T16:00:17Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Maxwell\_77](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Maxwell\_77](https://forums.unrealengine.com/u/Maxwell_77)\
**Post date:** [April 9, 2015, 4:00pm UTC](https://forums.unrealengine.com/t/mesh-with-translucent-material-has-dof-problems/314451/1 "2015-04-09T16:00:17Z")

</div>

Hi,  
I created a little physics animation. A cube falls on a diamond and breaks into many parts. A glass material is attached to both objects. I use DOF in my scene. But there is a huge problem with depth of field. (You can see it on the attached screenshot). I checked everything in my scene. There are no problems with Postprocess Volumes or something else. This problem occurs only when I attach a translucent material to the cube. I can send you the project file if you want to verify it.

Best regards, Andreas

 ![38189-diamond.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/7/5/a7575b67008d5297f84844f0b911b3bb2eb5a283.jpeg)

---

<div class="post-metadata">

**Author:** ![Tim\_Hobson](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Tim\_Hobson](https://forums.unrealengine.com/u/Tim_Hobson)\
**Post date:** [April 9, 2015, 8:27pm UTC](https://forums.unrealengine.com/t/mesh-with-translucent-material-has-dof-problems/314451/2 "2015-04-09T20:27:33Z")

</div>

Hi Andreas,

What settings are you using for your DOF in your Post Process Volume?

Thank you!

Tim

**EDIT:**  
I’ve removed “Destructible” from the title as I can get somewhat of a result with this. I just want to use your settings before getting a ticket in since that gives better results.

---

<div class="post-metadata">

**Author:** ![Maxwell\_77](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Maxwell\_77](https://forums.unrealengine.com/u/Maxwell_77)\
**Post date:** [April 10, 2015, 9:50am UTC](https://forums.unrealengine.com/t/mesh-with-translucent-material-has-dof-problems/314451/3 "2015-04-10T09:50:55Z")

</div>

Hi Tim,  
Thank you for your answer. I have attached a screenshot of my settings. The project crashes also all the time. There seems to be something wrong.

Best regards, Andreas

 ![38290-postproduction_volume_settings.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/8/6/5865d07ad094e332ae7f279e3643d6c3f2bee1a5.jpeg)

---

<div class="post-metadata">

**Author:** ![Tim\_Hobson](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Tim\_Hobson](https://forums.unrealengine.com/u/Tim_Hobson)\
**Post date:** [April 10, 2015, 3:49pm UTC](https://forums.unrealengine.com/t/mesh-with-translucent-material-has-dof-problems/314451/4 "2015-04-10T15:49:33Z")

</div>

I’ve submitted a ticket (UE-13670) for this to be reviewed by the development team.

Once an update to the ticket or a fix has been submitted I’ll post any relevant information here.

Thank you!

Tim

---

<div class="post-metadata">

**Author:** ![Tim\_Hobson](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Tim\_Hobson](https://forums.unrealengine.com/u/Tim_Hobson)\
**Post date:** [April 10, 2015, 8:16pm UTC](https://forums.unrealengine.com/t/mesh-with-translucent-material-has-dof-problems/314451/5 "2015-04-10T20:16:36Z")

</div>

This isn’t a bug, but something that is very hard and expensive to solve.

It was suggested to do the following:

You can disable the option in the material for “Separate Translucency.” This will make the object blurry depending on the depth behind the material.

DOF in UE4 is a post process and is based on the pixel depth and translucency doesn’t have pixel depth.

There may be options in the future to make this better by outputting some Stipple Pattern / random occluding depth, but that is not an option at the moment.

There is something in UE4 that is kind of like that with DitherTemporalAA node though.

You can read a little about that in this power point in the DitherTemporalAA section. [Meta Quest VR Headsets, Accessories & Equipment | Meta Quest](http://static.oculus.com/connect/slides/OculusConnect_Epic_UE4_Integration_and_Demos.pdf)

---

<div class="post-metadata">

**Author:** ![Maxwell\_77](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Maxwell\_77](https://forums.unrealengine.com/u/Maxwell_77)\
**Post date:** [April 11, 2015, 3:37pm UTC](https://forums.unrealengine.com/t/mesh-with-translucent-material-has-dof-problems/314451/6 "2015-04-11T15:37:56Z")

</div>

Hi Tim,  
thank you very much for this information.

Best regards, Andreas
