godotengine / tps-demo

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

Add occluder shapes to improve performance #139

Closed Calinou closed 2 years ago

Calinou commented 2 years ago

This uses occluder shape quads (introduced in Godot 3.5).

From my testing, this doesn't improve performance much during actual gameplay in GLES3 (since there's already a depth prepass doing its job). However, occluder shapes help significantly in GLES2 (especially in the reactor room), as GLES2 lacks a depth prepass.