Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
935830a
feat(elitedangerous): integrate PsychoV25 components into custom tonemap
mqhaji Aug 11, 2026
ebb5ee5
feat(deathstranding2): integrate PsychoV25 components into lms tonemap
mqhaji Aug 11, 2026
95dbe76
feat(elitedangerous): use c-infinity extension and bt709 displaymappi…
mqhaji Aug 11, 2026
f006dd8
chore(elitedangerous): code clean up
mqhaji Aug 11, 2026
634b7f3
chore(elitedangerous): remove unused code
mqhaji Aug 12, 2026
b69d504
refactor(asscreedblackflagresynced): simplify Anvil Engine tonemap
mqhaji Aug 12, 2026
dc1a74b
feat(asscreedblackflagresynced): integrate PsychoV25 components into …
mqhaji Aug 12, 2026
1278a4f
feat(asscreedblackflagresynced): remove enhanced local tm, add new lo…
mqhaji Aug 12, 2026
501a7dd
fix(asscreedblackflagresynced): fix local exposure with off preset
mqhaji Aug 12, 2026
bf2a64a
feat(asscreedblackflagresynced): adjust customized tm params
mqhaji Aug 13, 2026
5a4aae4
feat(asscreedblackflagresynced): change tm shoulder start/anchor, use…
mqhaji Aug 13, 2026
4b50cae
fix(asscreedblackflagresynced): preserve highlight hue shifts
mqhaji Aug 14, 2026
ae131ac
fix(elitedangerous): preserve highlight hue shifts, use display p3 ga…
mqhaji Aug 14, 2026
ef0b42d
feat(ffxvi): increase hue shifting
mqhaji Aug 16, 2026
4d70a2d
feat(deadspace): add force hdr10 define, enable presets
mqhaji Aug 20, 2026
6bf8667
feat(tlou2): add HDR mod for The Last of Us Part II Remastered
mqhaji Aug 21, 2026
a8491f4
feat(tlou2): adjust tm for lut sampling
mqhaji Aug 21, 2026
1050e75
feat(deathstranding2): set peak nits max to 10k
mqhaji Aug 21, 2026
0c0da6f
feat(elitedangerous): use psychov30
mqhaji Aug 23, 2026
e4bfbc3
feat(asscreedblackflagresynced): update to custom psychov30, set Enha…
mqhaji Aug 24, 2026
869ba29
feat(rdr2vk): enable other tm shaders, adjust enhanced tm
mqhaji Aug 24, 2026
6f9d106
chore(avatarfop-swoutlaws): clean up lutbuilder
mqhaji Aug 24, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
56 changes: 33 additions & 23 deletions src/games/asscreedblackflagresynced/addon.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -135,23 +135,13 @@ renodx::utils::settings::Settings settings = {
.key = "ToneMapType",
.binding = &shader_injection.tone_map_type,
.value_type = renodx::utils::settings::SettingValueType::INTEGER,
.default_value = 1.f,
.default_value = 2.f,
.label = "Tone Mapper",
.section = "Tone Mapping",
.tooltip = "Sets the tone mapper type. Toggle in-game HDR setting or restart game to take effect.",
.labels = {"Vanilla", "RenoDX (Vanilla+)", "RenoDX (Customized)"},
.labels = {"Vanilla", "RenoDX (Vanilla+)", "RenoDX (Enhanced)"},
.on_change_value = &OnToneMapLutControlledSettingChanged,
},
new renodx::utils::settings::Setting{
.key = "LocalToneMapType",
.binding = &shader_injection.custom_local_tone_map_type,
.value_type = renodx::utils::settings::SettingValueType::INTEGER,
.default_value = 0.f,
.label = "Local Tone Map Type",
.section = "Local Tone Mapping",
.tooltip = "Sets the local tone mapper type. Enhanced preserves prevents oversaturation in dark scenes.",
.labels = {"Vanilla", "Enhanced"},
},
new renodx::utils::settings::Setting{
.value_type = renodx::utils::settings::SettingValueType::TEXT,
.label = "Restart game to apply changes to UI Brightness.",
Expand All @@ -173,14 +163,34 @@ renodx::utils::settings::Settings settings = {
.on_change_value = &OnUiNitsSettingChanged,
},
new renodx::utils::settings::Setting{
.key = "Exposure",
.binding = &shader_injection.tone_map_exposure,
.default_value = 1.f,
.label = "Exposure",
.section = "Color Grading",
.max = 2.f,
.format = "%.2f",
.is_enabled = []() { return shader_injection.tone_map_type != 0; },
.key = "LocalExposureStrength",
.binding = &shader_injection.custom_local_exposure_strength,
.default_value = 100.f,
.label = "Local Exposure Strength",
.section = "Local Exposure",
.tooltip = "Adjusts the strength of local exposure. At 0, only global auto exposure remains.",
.max = 100.f,
.parse = [](float value) { return value * 0.01f; },
},
new renodx::utils::settings::Setting{
.key = "LocalExposureShoulder",
.binding = &shader_injection.custom_local_exposure_shoulder,
.default_value = 100.f,
.label = "Local Exposure Shoulder",
.section = "Local Exposure",
.tooltip = "Adjust the strength of local exposure shoulder",
.max = 100.f,
.parse = [](float value) { return value * 0.01f; },
},
new renodx::utils::settings::Setting{
.key = "LocalExposureToe",
.binding = &shader_injection.custom_local_exposure_toe,
.default_value = 100.f,
.label = "Local Exposure Toe",
.section = "Local Exposure",
.tooltip = "Adjust the strength of local exposure toe",
.max = 100.f,
.parse = [](float value) { return value * 0.01f; },
},
new renodx::utils::settings::Setting{
.key = "ColorGradeHighlights",
Expand Down Expand Up @@ -298,7 +308,6 @@ renodx::utils::settings::Settings settings = {
renodx::utils::settings::ResetSettings();
renodx::utils::settings::UpdateSettings({
{"ToneMapType", 2.f},
{"LocalToneMapType", 1.f},
{"ColorGradeCoolness", 50.f},
});
RefreshToneMapLutDirtyState();
Expand Down Expand Up @@ -371,9 +380,10 @@ renodx::utils::settings::Settings settings = {
void OnPresetOff() {
renodx::utils::settings::UpdateSettings({
{"ToneMapType", 0.f},
{"LocalToneMapType", 0.f},
{"ToneMapUINits", 203.f},
{"Exposure", 1.f},
{"LocalExposureStrength", 100.f},
{"LocalExposureShoulder", 100.f},
{"LocalExposureToe", 100.f},
{"ColorGradeHighlights", 50.f},
{"ColorGradeShadows", 50.f},
{"ColorGradeContrast", 50.f},
Expand Down
5 changes: 5 additions & 0 deletions src/games/asscreedblackflagresynced/common.hlsli
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
#ifndef RENODX_GAMES_ASSCREEDBLACKFLAGRESYNCED_COMMON_HLSLI_
#define RENODX_GAMES_ASSCREEDBLACKFLAGRESYNCED_COMMON_HLSLI_

#include "./shared.h"

float ContrastAndFlare(float x, float contrast, float contrast_highlights, float contrast_shadows, float flare, float mid_gray = 0.18f) {
Expand Down Expand Up @@ -99,3 +102,5 @@ float3 ApplyUserGradingAP1(float3 color_ap1, float mid_gray = 0.18f) {

return color_ap1;
}

#endif // RENODX_GAMES_ASSCREEDBLACKFLAGRESYNCED_COMMON_HLSLI_
16 changes: 9 additions & 7 deletions src/games/asscreedblackflagresynced/shared.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,13 @@
struct ShaderInjectData {
float tone_map_type;

float custom_local_tone_map_type;
float graphics_white_nits;

float custom_local_exposure_strength;
float custom_local_exposure_shoulder;
float custom_local_exposure_toe;

float custom_color_filter_strength;
float tone_map_exposure;
float tone_map_highlights;
float tone_map_shadows;
float tone_map_contrast;
Expand All @@ -19,8 +22,6 @@ struct ShaderInjectData {
float tone_map_coolness;

float custom_bloom;

float graphics_white_nits;
};

#ifndef __cplusplus
Expand All @@ -36,12 +37,13 @@ cbuffer shader_injection : register(b13, space50) {

#define RENODX_TONE_MAP_TYPE shader_injection.tone_map_type

#define CUSTOM_LOCAL_TONE_MAP_TYPE shader_injection.custom_local_tone_map_type

#define RENODX_GRAPHICS_WHITE_NITS shader_injection.graphics_white_nits

#define RENODX_LOCAL_EXPOSURE_STRENGTH shader_injection.custom_local_exposure_strength
#define RENODX_LOCAL_EXPOSURE_SHOULDER shader_injection.custom_local_exposure_shoulder
#define RENODX_LOCAL_EXPOSURE_TOE shader_injection.custom_local_exposure_toe

#define CUSTOM_COLOR_FILTER_STRENGTH shader_injection.custom_color_filter_strength
#define RENODX_TONE_MAP_EXPOSURE shader_injection.tone_map_exposure
#define RENODX_TONE_MAP_HIGHLIGHTS shader_injection.tone_map_highlights
#define RENODX_TONE_MAP_SHADOWS shader_injection.tone_map_shadows
#define RENODX_TONE_MAP_CONTRAST shader_injection.tone_map_contrast
Expand Down
Loading
Loading