From dd3d8de31eb40b9e8412adaa63d144184b2936bc Mon Sep 17 00:00:00 2001 From: BlackYps Date: Sun, 20 Oct 2024 01:36:52 +0200 Subject: [PATCH] Adjust decal roughness --- effects/terrain.fx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/effects/terrain.fx b/effects/terrain.fx index 3c38bea6db..0a12e351d4 100644 --- a/effects/terrain.fx +++ b/effects/terrain.fx @@ -1352,7 +1352,7 @@ float4 DecalsPS( VS_OUTPUT inV, uniform bool inShadows) : COLOR float3 color; // We want the decals to behave consistently with the rest of the ground if (ShaderUsesPbrRendering()) { - color = PBR(inV, decalAlbedo.rgb, normal, 1-decalSpec.r, waterDepth); + color = PBR(inV, decalAlbedo.rgb, normal, 0.9 * (1-decalSpec.r), waterDepth); } else { color = CalculateLighting(normal, inV.mTexWT.xyz, decalAlbedo.xyz, decalSpec.r, waterDepth, inV.mShadow, inShadows).xyz; }