Hi,
The issue that I am seeing is related to translucent material. I have stacked three translucent planes in front of the camera that I am dollying into to create a depth of field effect and to focus on the cube behind it. The issue is when I try to put opaque object behind the translucent object, the area of the opaque object that is inside the focus distance would become visible when should be a depth of field effect on the translucent object. I would like the blur effect to take place over seeing through the plane.
The following screenshot is showing the issue
[Image Removed]
if I hide the cube the blur effect comes back:
[Image Removed]
I am wondering
- if this is because the dof effect doesnt take the plane depth into account during rendering?
- Or is it because of the focus distance is a bit too close for the opaque object and the translucent plane?
- Is there a more effective way to achieve similar look?
Projects Repo:
From the DOF project, there is a level and a level sequencer under “/Game/Developers/weizeng/Collections/DOF”.
Steps to Reproduce
Steps to reproduce:
- Create new level new level sequence
- Spawn a cinecamera into the level sequencer
- Translucency Material Creation:
- Blend mode -> Translucent
- Shading model -> Unlit
- Translucency Pass -> Before DOF
- Color Parameter -> Out Emissive Color
- Opacity Parameter -> Out Opacity
- Opaque Material Creation:
- Texture parameter -> Base Color
- Texture = UVEditorColorGrid_Color
- Roughness Parameter -> 0.5
- Camera Settings
- Aperture -> 1.2
- Focal Length -> 75mm
- Focus Method -> Tracking of the cube (foreground)
- Camera Movement: Dolly in while focusing the cube
After some digging, there is an option called “opacity mask clip value” in the translucent material that I can changed. Surface will not render when OpacityMask Less than OpacityMaskClipValue, so that means the plan need to have a greater opacity value than the opacity mask clip value in order to be consider to render out with depth?
Hi Sarma!
Thanks for replying, while I was trying to setup the user scene texture, there are some issues that I am noticing with a translucent plane with an unreal logo texture applied, I tried to focus on the cube so that some of the logo would also be in focus. What I seeing is a hard cutoff of the blur effect at the edge. Is this still the order of the rendering process that is causing this?
[Image Removed]
I also tried path tracing with camera setting PathTracingEnableReferenceDOF turn on, and that give mostly what I am looking for.
[Image Removed]Would there be a way to achieve this look with ray trace or lumen?
Scene setup:
[Image Removed] Thanks
Wei
Thanks for replying, Sarma.
Do you happen to have an example of this using custom object sorting for the unreal logo to be in focus while the opacity/translucent part being blur like the path tracing.
Cheers
Wei
Another question: Is there any way to control the focus cutoff range so it doesn’t show the popping from blur to focus of those logos. It should stay blur for those logo.
[Image Removed]