Adjust pressure color response
This commit is contained in:
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user