godotengine / tps-demo

Godot Third Person Shooter with high quality assets and lighting
Other
1.01k stars 180 forks source link

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

Closed Calinou closed 2 years ago

Calinou commented 2 years ago

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 https://github.com/godotengine/tps-demo/pull/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