Skip to content

Commit 3101d75

Browse files
author
Allen Pestaluky
committed
Fix glow intensity not showing in compatibility renderer when blend mode is set to mix.
1 parent b7c5fca commit 3101d75

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scene/resources/environment.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1120,7 +1120,7 @@ void Environment::_validate_property(PropertyInfo &p_property) const {
11201120
p_property.usage = PROPERTY_USAGE_NO_EDITOR;
11211121
}
11221122

1123-
if (p_property.name == "glow_intensity" && glow_blend_mode == GLOW_BLEND_MODE_MIX) {
1123+
if (p_property.name == "glow_intensity" && glow_blend_mode == GLOW_BLEND_MODE_MIX && OS::get_singleton()->get_current_rendering_method() != "gl_compatibility") {
11241124
p_property.usage = PROPERTY_USAGE_NO_EDITOR;
11251125
}
11261126

0 commit comments

Comments
 (0)