Skip to content

Commit 2d8c4a8

Browse files
committed
Adjust decal roughness
1 parent 948fc23 commit 2d8c4a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

effects/terrain.fx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1352,7 +1352,7 @@ float4 DecalsPS( VS_OUTPUT inV, uniform bool inShadows) : COLOR
13521352
float3 color;
13531353
// We want the decals to behave consistently with the rest of the ground
13541354
if (ShaderUsesPbrRendering()) {
1355-
color = PBR(inV, decalAlbedo.rgb, normal, 1-decalSpec.r, waterDepth);
1355+
color = PBR(inV, decalAlbedo.rgb, normal, 0.9 * (1-decalSpec.r), waterDepth);
13561356
} else {
13571357
color = CalculateLighting(normal, inV.mTexWT.xyz, decalAlbedo.xyz, decalSpec.r, waterDepth, inV.mShadow, inShadows).xyz;
13581358
}

0 commit comments

Comments
 (0)