Fix BaseMaterial3D update with certain material settings
This commit is contained in:
parent
4b7cc99bc1
commit
45f2ef4c0f
@ -3079,6 +3079,8 @@ BaseMaterial3D::BaseMaterial3D(bool p_orm) :
|
|||||||
flags[FLAG_ALBEDO_TEXTURE_MSDF] = false;
|
flags[FLAG_ALBEDO_TEXTURE_MSDF] = false;
|
||||||
flags[FLAG_USE_TEXTURE_REPEAT] = true;
|
flags[FLAG_USE_TEXTURE_REPEAT] = true;
|
||||||
|
|
||||||
|
current_key.invalid_key = 1;
|
||||||
|
|
||||||
_mark_initialized(callable_mp(this, &BaseMaterial3D::_queue_shader_change));
|
_mark_initialized(callable_mp(this, &BaseMaterial3D::_queue_shader_change));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -325,6 +325,7 @@ private:
|
|||||||
uint64_t emission_op : get_num_bits(EMISSION_OP_MAX - 1);
|
uint64_t emission_op : get_num_bits(EMISSION_OP_MAX - 1);
|
||||||
uint64_t distance_fade : get_num_bits(DISTANCE_FADE_MAX - 1);
|
uint64_t distance_fade : get_num_bits(DISTANCE_FADE_MAX - 1);
|
||||||
// booleans
|
// booleans
|
||||||
|
uint64_t invalid_key : 1;
|
||||||
uint64_t deep_parallax : 1;
|
uint64_t deep_parallax : 1;
|
||||||
uint64_t grow : 1;
|
uint64_t grow : 1;
|
||||||
uint64_t proximity_fade : 1;
|
uint64_t proximity_fade : 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user