Skip to content

Commit cc230ea

Browse files
committed
fix(mhwilds): fix lut strength in sdr
1 parent e9eb47d commit cc230ea

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/games/mhwilds/postprocess_sdr_0xF06499FE.ps_6_6.hlsl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -434,10 +434,10 @@ float4 main(
434434
float _594 = (mad(_586, LDRPostProcessParam_014y, (mad(_585, LDRPostProcessParam_013y, (_584 * LDRPostProcessParam_012y))))) + LDRPostProcessParam_015y;
435435
float _598 = (mad(_586, LDRPostProcessParam_014z, (mad(_585, LDRPostProcessParam_013z, (_584 * LDRPostProcessParam_012z))))) + LDRPostProcessParam_015z;
436436
float3 new_color = CustomLUTColor(float3(_194, _195, _196), float3(_590, _594, _598));
437-
_194 = new_color.r;
438-
_195 = new_color.g;
439-
_196 = new_color.b;
440-
437+
_590 = new_color.r;
438+
_594 = new_color.g;
439+
_598 = new_color.b;
440+
441441
bool _601 = isfinite(max((max(_590, _594)), _598));
442442
float _602 = (_601 ? _590 : 1.0f);
443443
float _603 = (_601 ? _594 : 1.0f);

0 commit comments

Comments
 (0)