Description
  • If the Parent material is initially a Translucent material, Allow Custom Depth Writes works.
  • If the parent material is initially a Opaque material, Allow Custom Depth Writes doesn't work for the instance of the material which has blend mode overrided to Translucent

UDN Issue link:
https://udn.unrealengine.com/questions/419765/%E6%9D%90%E8%B4%A8%E5%AE%9E%E4%BE%8B%E8%AE%BE%E7%BD%AEtranslucent%E5%B1%9E%E6%80%A7%E6%97%B6%E5%80%99%E7%88%B6%E6%9D%90%E8%B4%A8%E7%9A%84%E9%83%A8%E5%88%86%E9%80%8F%E6%98%8E%E7%9B%B8%E5%85%B3%E5%B1%9E%E6%80%A7%E4%B8%8D%E5%8F%AF%E7%94%A8.html?childToView=419807#answer-419807

Steps to Reproduce
  • Create a new Material, blend mode is Opaque, Allow Custom Depth Writes enable.
  • Create a Material instance inherit from the new material
  • In the material instance's property overrides section, override the Blend mode to be as Translucent
  • New a Empty level and put a Sphere mesh in it; Assign the material instance to the Sphere mesh; Enable Render Custom Depthpass in its detail panel as well
  • Show Custom depth BufferVisualization viewmode in viewport
  • No any Custom depth showup in the level viewport
    Expectation: it should render the Sphere mesh's Custom depth in viewport

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-55786 in the post.

1
Login to Vote

Won't Fix
ComponentUE - Graphics Features
Affects Versions4.18.3
CreatedMar 5, 2018
ResolvedAug 18, 2021
UpdatedAug 18, 2021