Skip to content

Commit

Permalink
fix(unrealengine): fix inverse Highlight Saturation
Browse files Browse the repository at this point in the history
  • Loading branch information
clshortfuse committed Jan 5, 2025
1 parent c35e97b commit fd2610c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/games/unrealengine/addon.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -280,11 +280,11 @@ renodx::utils::settings::Settings settings = {
.tooltip = "Adds or removes highlight color.",
.max = 100.f,
.is_enabled = []() { return shader_injection.toneMapType == 1; },
.parse = [](float value) { return (value * 0.02f) - 1.f; },
.parse = [](float value) { return (value * -0.02f) + 1.f; },
.is_visible = []() { return settings[0]->GetValue() >= 1; },
},
new renodx::utils::settings::Setting{
.key = "ColorGradeBlowout",
.key = "ColorGradeDechroma",
.binding = &shader_injection.colorGradeDechroma,
.default_value = 0.f,
.label = "Blowout",
Expand Down

0 comments on commit fd2610c

Please sign in to comment.