Skip to content
This repository was archived by the owner on Nov 30, 2020. It is now read-only.

Commit 61e7d28

Browse files
committed
Stop NaN Propagation now works for opaque-only effects on the Std RP
1 parent 50443b4 commit 61e7d28

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PostProcessing/Runtime/PostProcessLayer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,7 @@ void BuildCommandBuffers()
380380
// on tiled GPU as it won't be able to resolve
381381
int tempTarget0 = m_TargetPool.Get();
382382
context.GetScreenSpaceTemporaryRT(cmd, tempTarget0, 0, sourceFormat);
383-
cmd.BuiltinBlit(cameraTarget, tempTarget0);
383+
cmd.BuiltinBlit(cameraTarget, tempTarget0, RuntimeUtilities.copyStdMaterial, stopNaNPropagation ? 1 : 0);
384384
context.source = tempTarget0;
385385

386386
int tempTarget1 = -1;

0 commit comments

Comments
 (0)