Adjust pressure color response

This commit is contained in:
lenn
2026-07-14 11:16:17 +08:00
parent 466bb5dec7
commit bf7907ce6f

View File

@@ -1084,7 +1084,7 @@ struct PressureColorRange {
// The shader begins its orange-to-red transition at intensity 0.66. With this // The shader begins its orange-to-red transition at intensity 0.66. With this
// gamma, a raw cell value at 80% of its configured range maps to that point. // gamma, a raw cell value at 80% of its configured range maps to that point.
const PRESSURE_COLOR_GAMMA: f32 = 1.86; const PRESSURE_COLOR_GAMMA: f32 = 1.5;
impl PressureColorRange { impl PressureColorRange {
const fn new(min: u32, max: u32) -> Self { const fn new(min: u32, max: u32) -> Self {