Materials with mask and pixel depth offset appear to be empty in Shader Complexity viewmode in SM5. Both happens in material preview and world viewport. 

[Image Removed]

Works fine in ES31. 

[Image Removed]


Steps to Reproduce

1.Create a material (4.23 Release)

2.Set the blend mode to Masked

3.Apply a parameter to Opacity Mask

4.Apply  a parameter to Pixel Depth Offset (non-zero)

5.Switch to Shader Complexity viewmode

Result: The material will appear to be empty

Have Comments or More Details?

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

Login to Vote

Won't Fix
ComponentUE - Rendering - RHI
Affects Versions4.23
CreatedNov 11, 2019
ResolvedAug 27, 2021
UpdatedAug 27, 2021