diff --git a/scene/resources/material.h b/scene/resources/material.h index 677ddf30d88..28ceb1f1194 100644 --- a/scene/resources/material.h +++ b/scene/resources/material.h @@ -327,6 +327,7 @@ private: uint64_t deep_parallax : 1; uint64_t grow : 1; uint64_t proximity_fade : 1; + uint64_t orm : 1; // flag bitfield uint32_t feature_mask; @@ -378,6 +379,7 @@ private: mk.distance_fade = distance_fade; mk.emission_op = emission_op; mk.alpha_antialiasing_mode = alpha_antialiasing_mode; + mk.orm = orm; for (int i = 0; i < FEATURE_MAX; i++) { if (features[i]) {