Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 2 additions & 0 deletions package/Shaders/ISHDR.hlsl
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,8 @@ PS_OUTPUT main(PS_INPUT input)
outputColor = Color::LinearToGammaSafe(outputColor);
} else {
outputColor = max(0, outputColor);
if (ENABLE_LL)
outputColor = Color::LinearToGammaSafe(outputColor);
outputColor = FrameBuffer::ToSRGBColor(outputColor);
Comment thread
jiayev marked this conversation as resolved.
}

Expand Down
6 changes: 3 additions & 3 deletions src/Features/LinearLighting.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,12 @@ struct LinearLighting : Feature
float vlGamma = 1.8f;

// Lighting multipliers
float vanillaDiffuseColorMult = 1.5f;
float vanillaDiffuseColorMult = 1.0f;
float directionalLightMult = 1.0f;
float pointLightMult = 1.0f;
float ambientMult = 0.67f;
float ambientMult = 1.0f;
float emitColorMult = 1.0f;
float glowmapMult = 0.5f;
float glowmapMult = 0.66f;

// Effect multipliers
float effectLightingMult = 0.32f;
Expand Down
Loading