Experiment with smaller depth buffer formats
Open
A-Rendering
C-Feature
C-Performance
S-Needs-Benchmarking
S-Needs-Design
- Dominant language
- Rust
- Stars
- 48.2k
- Forks
- 4.8k
- Avg merge
- 3d 16h
- Merged PRs (30d)
- 171
Description
Currently we're using 32 bit depth buffers.
We could probably get away with 24 bit depth, or maybe even 16 bit depth for shadow maps once we improve precision there.
Less bits = faster to write and read.
Contributor guide
Research direction
No file, test, or entry point is named. Start by tracing where Bevy creates 32-bit depth buffers and configures shadow maps, then compare the precision and performance of smaller formats; done requires an agreed format choice supported by measurements and sufficient shadow-map precision.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- computer-graphics, performance
- Issue type
- Refactor
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100