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

This commit is contained in:
Allen Pestaluky
2025-09-23 17:45:35 -04:00
parent b7c5fcaf1e
commit 3101d75634

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;
}