Change Omni light default mode to Cube, avoids users confusing it as a bug, closes #8813

This commit is contained in:
Juan Linietsky 2017-06-12 23:36:33 -03:00
parent ea6cb22329
commit b21d45e4e1

View File

@ -371,7 +371,7 @@ void OmniLight::_bind_methods() {
OmniLight::OmniLight()
: Light(VisualServer::LIGHT_OMNI) {
set_shadow_mode(SHADOW_DUAL_PARABOLOID);
set_shadow_mode(SHADOW_CUBE);
set_shadow_detail(SHADOW_DETAIL_HORIZONTAL);
}