Implement 3D shadows in the GL Compatibility renderer

This commit is contained in:
clayjohn
2023-05-25 20:04:00 -07:00
parent ec62b8a3ee
commit cb7200b028
10 changed files with 2385 additions and 396 deletions

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."));
}