Fix glow intensity not showing in compatibility renderer when blend mode is set to mix.

(cherry picked from commit 3101d75634)
This commit is contained in:
Allen Pestaluky 2025-09-23 17:45:35 -04:00 committed by Rémi Verschelde
parent d92413782b
commit 29f8d9f504
No known key found for this signature in database
GPG key ID: C3336907360768E1

View file

@ -1120,7 +1120,7 @@ void Environment::_validate_property(PropertyInfo &p_property) const {
p_property.usage = PROPERTY_USAGE_NO_EDITOR;
}
if (p_property.name == "glow_intensity" && glow_blend_mode == GLOW_BLEND_MODE_MIX) {
if (p_property.name == "glow_intensity" && glow_blend_mode == GLOW_BLEND_MODE_MIX && OS::get_singleton()->get_current_rendering_method() != "gl_compatibility") {
p_property.usage = PROPERTY_USAGE_NO_EDITOR;
}