Skip to content

Commit 6bd3cef

Browse files
Adrian1066Evergreen
authored andcommitted
[content automatically redacted] touching PlatformDependent folder
1 parent 4be2d31 commit 6bd3cef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Packages/com.unity.render-pipelines.core/ShaderLibrary/PerPixelDisplacement.hlsl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ ParallaxOcclusionMapping
8484

8585
delta = intersectionHeight - currHeight;
8686

87-
if (abs(delta) <= 0.01)
87+
if ((delta >= -0.01) && (delta <= 0.01))
8888
break;
8989

9090
// intersectionHeight < currHeight => new lower bounds

0 commit comments

Comments
 (0)