When UMaterialInstanceConstant::UpdateCachedData() updates CachedExpressionData.PropertyConnectedMask for material instances with layers incorrectly, it can lead to various graphical issues including using the wrong vertex shader variant that doesn't support WPO or missing opacity masking.
See the attached sample repro project.
Example base material from repro case:
[Image Removed]
Expected
The mesh draws with WPO using the world grid material
Actual
The mesh doesn't use the correct vertex shader and has a yellow skybox error message written on it because of depth test issues in basepass
[Image Removed]
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-231069 in the post.
0 |
Component | UE - Rendering Architecture - Materials |
---|---|
Affects Versions | 5.4, 5.5, 5.4.4 |
Created | Nov 20, 2024 |
---|---|
Updated | Nov 20, 2024 |