Commit 0df3b19
Fix missing sRGB conversion for dithering non-HDR pipelines (#6707)
# Objective
- Fixes #6706
Zoom in on the shadow in the following images:
## Current bevy/main
### HDR On - correct

### HDR Off - incorrect

## This PR
### HDR On - correct

### HDR Off - corrected

## Close-up comparison
### New

### Old

## Solution
- It turns out there was an outright missing sRGB conversion for dithering non-HDR cameras.
- I also tried using a precise sRGB conversion, but it had no apparent effect on the final image.
---
## Changelog
- Fix deband dithering intensity for non-HDR pipelines.1 parent 3643074 commit 0df3b19
File tree
2 files changed
+8
-2
lines changed- crates
- bevy_core_pipeline/src/tonemapping
- bevy_pbr/src/render
2 files changed
+8
-2
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
102 | | - | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
103 | 109 | | |
104 | 110 | | |
105 | 111 | | |
0 commit comments