Fix missing Transparent Lighting mode init

This commit is contained in:
Wojciech Figat
2022-07-14 12:48:00 +02:00
parent 2b76c369ac
commit 4cc7bb96f5

View File

@@ -96,6 +96,7 @@ CreateMaterial::Options::Options()
Info.UsageFlags = MaterialUsageFlags::None;
Info.FeaturesFlags = MaterialFeaturesFlags::None;
Info.DecalBlendingMode = MaterialDecalBlendingMode::Translucent;
Info.TransparentLightingMode = MaterialTransparentLightingMode::Surface;
Info.PostFxLocation = MaterialPostFxLocation::AfterPostProcessingPass;
Info.CullMode = CullMode::Normal;
Info.MaskThreshold = 0.3f;