bevyengine / bevyengine/bevy

Experiment with smaller depth buffer formats

Open
#16,089 2 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.