# Objective - Allow custom shaders to reuse the HDR results of PBR. ## Solution - Separate `pbr()` and `tone_mapping()` into 2 functions in `pbr_functions.wgsl`. |
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||
# Objective - Allow custom shaders to reuse the HDR results of PBR. ## Solution - Separate `pbr()` and `tone_mapping()` into 2 functions in `pbr_functions.wgsl`. |
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||