Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a setting to disable real-time light shadows #140

Merged
merged 1 commit into from
Aug 17, 2022

Conversation

Calinou
Copy link
Member

@Calinou Calinou commented Aug 7, 2022

Disabling shadows reduces the number of draw calls significantly, which improves rendering performance a lot.

Since the demo doesn't have too many bright point lights, the visual difference isn't that noticeable (except when walking under a light).

This will come particularly handy on integrated graphics and on mobile (once #118 is merged).

Benchmark

FPS over time when following the path from spawn to the reactor room. Using the default graphics settings in 2560×1440 on a GeForce GTX 1080:

image

Disabling shadows reduces the number of draw calls significantly,
which improves rendering performance a lot.
@Calinou Calinou merged commit 93c05ac into godotengine:master Aug 17, 2022
@Calinou Calinou deleted the add-shadow-setting branch August 17, 2022 15:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant