Hash ORM flag in BaseMaterial to differentiate between ORM and Standard materials
This commit is contained in:
parent
d984ad64d4
commit
86550ea3c5
|
@ -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]) {
|
||||
|
|
Loading…
Reference in New Issue