Skip to content

Commit

Permalink
Adjust decal roughness
Browse files Browse the repository at this point in the history
  • Loading branch information
BlackYps committed Oct 21, 2024
1 parent ec60cf4 commit dd3d8de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion effects/terrain.fx
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit dd3d8de

Please sign in to comment.