From b23608c8bae6e6c2d8933905f853ef1448c398ba Mon Sep 17 00:00:00 2001 From: doodlum Date: Thu, 20 Feb 2025 21:08:21 +0000 Subject: [PATCH] =?UTF-8?q?style:=20=F0=9F=8E=A8=20apply=20clang-format=20?= =?UTF-8?q?changes?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package/Shaders/Lighting.hlsl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/Shaders/Lighting.hlsl b/package/Shaders/Lighting.hlsl index 018090fa5..c6603bfb3 100644 --- a/package/Shaders/Lighting.hlsl +++ b/package/Shaders/Lighting.hlsl @@ -2452,7 +2452,7 @@ PS_OUTPUT main(PS_INPUT input, bool frontFace // Remove AO float maxChannel = max(max(vertexColor.r, vertexColor.g), vertexColor.b); vertexColor = vertexColor / maxChannel; - + // Brighten skylighting //vertexColor *= 1.0 + (1.0 - maxChannel) * (1.0 - Color::LinearToGamma(skylightingDiffuse));