Skip to content

Commit 8f52724

Browse files
Updated minDistance epsilon URP decal (#5325)
Merged with a few expected tests failing
1 parent 74d95cb commit 8f52724

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

com.unity.render-pipelines.universal/Runtime/Decal/Entities/DecalUpdateCachedSystem.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ private void Execute(DecalEntityChunk entityChunk, DecalCachedChunk cachedChunk,
174174
decalToWorlds = cachedChunk.decalToWorlds,
175175
normalToWorlds = cachedChunk.normalToWorlds,
176176
boundingSpheres = cachedChunk.boundingSpheres,
177-
minDistance = 0.0001f,
177+
minDistance = System.Single.Epsilon,
178178
};
179179

180180
var handle = updateTransformJob.Schedule(entityChunk.transformAccessArray);

0 commit comments

Comments
 (0)