Merge pull request #77496 from clayjohn/GLES3-shadows

Implement 3D shadows in the GL Compatibility renderer
This commit is contained in:
Yuri Sizov
2023-09-28 20:03:53 +02:00
10 changed files with 2385 additions and 396 deletions
-4
View File
@@ -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."));
}