Solari realtime lighting ~16% darker than Pathtracer under a large textured emissive mesh
I maintainer di solito rispondono entro 2 giorni
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 42/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- rust
- Ambito
- computer-graphics, performance
Direzione di ricerca
Start by reducing the reported scene to a plane under a textured emissive dome, then compare SolariLighting and Pathtracer with the same setup. The issue points to generate_nee_candidate, generate_emissive_candidate, and reservoir_contribution as relevant shader entry points; read those paths alongside the emissive mesh sampling code. Done means identifying and reproducing the source of the roughly 16% radiance gap, with a regression case showing the estimates agree.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Bevy version
0.20.1 (bevy_solari 0.20.1), Vulkan, NVIDIA L4 (driver 580), Ubuntu 24.04.
What I did
A static scene: a small block of street (cobblestones, kerbs, walls; StandardMaterial with base colour, normal and metallic-roughness textures, no vertex colours) enclosed by an emissive sphere, 40 m in radius, 9 216 triangles, normals facing inwards, base_color black, emissive = 39 322 × an emissive_texture (Rgba16Float, 1024 × 512, equirectangular: the light seen from the middle of the block). The sphere is the only light source; the camera's EnvironmentMapLight is present, but every ray meets the sphere first (it lies within world_cache_max_gi_ray_distance).
The camera does not move. After 6 s, I compare the mean linear radiance over the floor's pixels (diffuse-dominated cobblestones), drawn with Tonemapping::None (nothing clipped), between:
Pathtracer(about 1 200 samples a pixel accumulated): the reference;SolariLighting { restir: true, ..default() }, raw (no denoiser of any kind).
What I saw
| Setting | Floor, relative to Pathtracer |
|---|---|
default, restir: true |
0.84 |
confidence_weight_cap: 1.0 |
≈ same (< 1 % change) |
primary_di_samples: 32, secondary_di_samples: 16 |
≈ same |
max_bounces: 8 |
≈ same |
world_cache_position_base_cell_size: 0.05 |
≈ same |
restir: false |
darker still |
(The settings rows were measured through our own temporal/à-trous denoiser, which raises the mean by about 9 %; their differences relative to the default are what matters.)
What I expected
The realtime estimate to converge, on average, to the Pathtracer's, at least for a static camera and a static, diffuse-lit scene. The gap is the same over the whole floor (not localised near edges or occluders), and none of the exposed settings moves it.
Notes
- Reading the shaders, NEE and BRDF-sampled emissive hits use consistent MIS weights (
generate_nee_candidate/generate_emissive_candidate/reservoir_contribution), andpack_resolved_light_sample's log2 + RGB9E5 encoding is not clipping here. I could not find the cause by reading. - The light source is one emissive mesh of 9 216 triangles with a textured emission (bright sky directions next to dark façades). I have not yet reduced this to a minimal scene; a plane under a textured emissive dome is my best guess at one. Happy to try one if useful.
- Lingua principale
- Rust
- Stelle
- 49.8k
- Fork
- 5.1k
- Merge medio
- 3g 4h
- PR unite (30g)
- 136
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di bevyengine/bevy
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
bevyengine/bevy#26642 ·
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
bevyengine/bevy#26641 ·
I maintainer di solito rispondono entro 2 giorni
-
A-Animation AI-Assisted C-Bug D-Trivial S-Needs-Triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
bevyengine/bevy#26637 ·
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
bevyengine/bevy#26635 ·
I maintainer di solito rispondono entro 2 giorni
-
Feathers checkbox outline should have flex_shrink: 0Forse già presa @Tatsuya0330 l’ha presa oggi. ApertaC-Bug S-Needs-Triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
bevyengine/bevy#26630 ·
I maintainer di solito rispondono entro 2 giorni
Tutte le issue di bevyengine/bevy
Issue simili
-
go good first issue test
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
I maintainer di solito rispondono entro 2 giorni
-
bug triaged tui ux wontfix
Difficoltà 2/5 Mezza giornata Idoneità per principianti 70/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno