Commit 043fb77
committed
mcpg: default to MIS+Roughness and p_guiding 0.5; tests: request the features the material shaders need
Measured on the Bitterli pbrt scenes (1280x720, 3 reps, 8192-iteration
reference-mode references with the reference's own MC noise subtracted):
MIS+Roughness is never worse than MIS and is much better where bare glossy
conductors exist (kitchen, alpha 0.05-0.1: relMSE -27 % at 1024 iterations with
p=0.5, -55 % with p=0.9); it is a tie on living-room, whose glossy surfaces are
either gated off or diffuse-dominated composites, and identical on the diffuse
cornell-box.
p_guiding drops 0.85 -> 0.5 (and examples/renderers/mcpg.json 0.9 -> 0.5): at
p=0.9 guiding is a large net loss on both glossy scenes, +584 %/+750 % relMSE
against no guiding at 4096 iterations. Quake pins 0.9 in its own quake.json
(merian-plugin-quake feat/mcpg-guiding-prob).
test-material-system and test-slang-hot-reload both aborted on a validation
error: the material shaders declare 16-bit StorageBuffer variables and use
non-uniform sampled-image indexing, but these bare test contexts requested no
features (test_pbrt_scene/test_gltf_scene already do this). Pre-existing on
main, unrelated to the guiding change.1 parent fb1c592 commit 043fb77
4 files changed
Lines changed: 19 additions & 3 deletions
File tree
- examples/renderers
- include/merian-graph/nodes/render_pt_mcpg
- tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
132 | 132 | | |
133 | 133 | | |
134 | 134 | | |
135 | | - | |
| 135 | + | |
136 | 136 | | |
137 | 137 | | |
138 | 138 | | |
| |||
141 | 141 | | |
142 | 142 | | |
143 | 143 | | |
144 | | - | |
| 144 | + | |
145 | 145 | | |
146 | 146 | | |
147 | 147 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
36 | 44 | | |
37 | 45 | | |
38 | 46 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
36 | 44 | | |
37 | 45 | | |
38 | 46 | | |
| |||
0 commit comments