Explorar el Código

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

Allen Pestaluky hace 4 semanas
padre
commit
3101d75634
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      scene/resources/environment.cpp

+ 1 - 1
scene/resources/environment.cpp

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