Changed lensflare formula

This commit is contained in:
Lwmte 2025-03-26 19:41:53 +01:00
parent 539c19bdee
commit 917a86863e

View file

@ -185,7 +185,7 @@ float4 PSLensFlare(PixelShaderInput input) : SV_Target
totalLensFlareColor += lensFlareColor;
}
color.xyz += totalLensFlareColor;
color.xyz = lerp(color.xyz, color.xyz + totalLensFlareColor, saturate(dot(totalLensFlareColor, float3(0.5f, 0.5f, 0.5f))));
return color;
}