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

Commit e8faac1

Browse files
committed
Fixed source binding issue in vanilla
1 parent 226ee18 commit e8faac1

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

PostProcessing/Runtime/PostProcessLayer.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -346,6 +346,7 @@ void OnPreCull()
346346
int tempRt = m_TargetPool.Get();
347347

348348
m_LegacyCmdBuffer.GetTemporaryRT(tempRt, context.width, context.height, 24, FilterMode.Bilinear, sourceFormat);
349+
m_LegacyCmdBuffer.SetGlobalTexture(ShaderIDs.MainTex, cameraTarget);
349350
m_LegacyCmdBuffer.Blit(cameraTarget, tempRt, RuntimeUtilities.copyMaterial, stopNaNPropagation ? 3 : 2);
350351
m_NaNKilled = stopNaNPropagation;
351352

0 commit comments

Comments
 (0)