Material instance doesn't inherit Allow Custom Depth Writes property enabled in the parent Material
Material instance doesn't inherit Allow Custom Depth Writes property enabled in the parent Material
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
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.