Skip to content

Commit

Permalink
chore: brighten skylighting on trees
Browse files Browse the repository at this point in the history
  • Loading branch information
doodlum committed Feb 20, 2025
1 parent d17df66 commit b15324d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package/Shaders/Lighting.hlsl
Original file line number Diff line number Diff line change
Expand Up @@ -2454,7 +2454,7 @@ PS_OUTPUT main(PS_INPUT input, bool frontFace
vertexColor = vertexColor / maxChannel;

// Brighten skylighting
//vertexColor *= 1.0 + (1.0 - maxChannel) * (1.0 - Color::LinearToGamma(skylightingDiffuse));
vertexColor *= 1.0 + (1.0 - maxChannel) * (1.0 - Color::LinearToGamma(skylightingDiffuse));

vertexColor = lerp(input.Color.xyz, vertexColor, skylightingFadeOutFactor);
// Apply AO to direct lighting only
Expand Down

0 comments on commit b15324d

Please sign in to comment.