mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 10:11:57 +03:00
Implement 3D shadows in the GL Compatibility renderer
This commit is contained in:
@@ -172,10 +172,6 @@ AABB Light3D::get_aabb() const {
|
||||
PackedStringArray Light3D::get_configuration_warnings() const {
|
||||
PackedStringArray warnings = VisualInstance3D::get_configuration_warnings();
|
||||
|
||||
if (has_shadow() && OS::get_singleton()->get_current_rendering_method() == "gl_compatibility") {
|
||||
warnings.push_back(RTR("Shadows are not supported when using the GL Compatibility backend yet. Support will be added in a future release."));
|
||||
}
|
||||
|
||||
if (!get_scale().is_equal_approx(Vector3(1, 1, 1))) {
|
||||
warnings.push_back(RTR("A light's scale does not affect the visual size of the light."));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user