Skip to content

Commit

Permalink
Merge branch 'hue-preservation' of https://github.com/doodlum/skyrim-…
Browse files Browse the repository at this point in the history
…community-shaders into hue-preservation
  • Loading branch information
doodlum committed Nov 22, 2024
2 parents bb3637c + e00e277 commit d96df6a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package/Shaders/ISHDR.hlsl
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ float3 GetTonemapFactorHejlBurgessDawson(float3 luminance)
pow(((tmp * 6.2 + 0.5) * tmp) / (tmp * (tmp * 6.2 + 1.7) + 0.06), Color::GammaCorrectionValue);
}

#include "Common/DICETonemapper.hlsli"
# include "Common/DICETonemapper.hlsli"

PS_OUTPUT main(PS_INPUT input)
{
Expand Down Expand Up @@ -108,7 +108,7 @@ PS_OUTPUT main(PS_INPUT input)

float3 blendedColor;
float3 blendFactor;
if (Param.z > 0.5) {
if (Param.z > 0.5) {
blendedColor = HuePreservingHejlBurgessDawson(inputColor);
} else {
blendedColor = HuePreservingReinhard(inputColor);
Expand Down

0 comments on commit d96df6a

Please sign in to comment.