Skip to content

Commit

Permalink
feat(unrealengine): Lutbuilders and game specific shaders (#103)
Browse files Browse the repository at this point in the history
* feat(unrealengine): Add more lutbuilders

* feat(unrealengine): Add persona 3 shaders/lutbuilder
  • Loading branch information
MohannedElfatih authored Jan 10, 2025
1 parent 87b1d82 commit ea42a65
Show file tree
Hide file tree
Showing 10 changed files with 10,508 additions and 0 deletions.
19 changes: 19 additions & 0 deletions src/games/unrealengine/addon.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@ renodx::mods::shader::CustomShaders custom_shaders = {
TracedShaderEntry(0x00E9C5FE),
TracedShaderEntry(0xE9343033),

// Persona 3 Reload
TracedShaderEntry(0xCB9976C8),
TracedShaderEntry(0xBFE48347),

// SM5 LUT Builder
TracedShaderEntry(0x1DF6036B),
TracedShaderEntry(0x20EAC9B6),
Expand Down Expand Up @@ -81,6 +85,9 @@ renodx::mods::shader::CustomShaders custom_shaders = {
TracedShaderEntry(0xE6EB2840),
TracedShaderEntry(0xF6AA7756),
TracedShaderEntry(0xFBB78F9F),
TracedShaderEntry(0x6E6FC244),
TracedShaderEntry(0x8D3D2FA0),
TracedShaderEntry(0x97BAC8AF),

// SM6 LUT Builder

Expand All @@ -96,6 +103,7 @@ renodx::mods::shader::CustomShaders custom_shaders = {
TracedShaderEntry(0xB530B36A),
TracedShaderEntry(0xB6CA5FD9),
TracedShaderEntry(0xBAA27141),
TracedShaderEntry(0xEBB3E98C),
};

ShaderInjectData shader_injection;
Expand Down Expand Up @@ -727,6 +735,9 @@ void AddShaders() {
{0xE6EB2840, __0xE6EB2840},
{0xF6AA7756, __0xF6AA7756},
{0xFBB78F9F, __0xFBB78F9F},
{0x6E6FC244, __0x6E6FC244},
{0x8D3D2FA0, __0x8D3D2FA0},
{0x97BAC8AF, __0x97BAC8AF},
},
true, true, {reshade::api::device_api::d3d11});

Expand Down Expand Up @@ -766,6 +777,9 @@ void AddShaders() {
{0xE6EB2840, __lutbuilder_0xE6EB2840_dx12},
{0xF6AA7756, __lutbuilder_0xF6AA7756_dx12},
{0xFBB78F9F, __lutbuilder_0xFBB78F9F_dx12},
{0x6E6FC244, __lutbuilder_0x6E6FC244_dx12},
{0x8D3D2FA0, __lutbuilder_0x8D3D2FA0_dx12},
{0x97BAC8AF, __lutbuilder_0x97BAC8AF_dx12},

{0x269E94C1, __0x269E94C1},
{0x3028EBE7, __0x3028EBE7},
Expand All @@ -779,6 +793,11 @@ void AddShaders() {
{0xB530B36A, __0xB530B36A},
{0xB6CA5FD9, __0xB6CA5FD9},
{0xBAA27141, __0xBAA27141},
{0xEBB3E98C, __0xEBB3E98C},

// P3 Reload
{0xCB9976C8, __0xCB9976C8},
{0xBFE48347, __0xBFE48347},
},
true, true, {reshade::api::device_api::d3d12});
}
Expand Down
Loading

0 comments on commit ea42a65

Please sign in to comment.