urp_kawase_blur icon indicating copy to clipboard operation
urp_kawase_blur copied to clipboard

Removal of warning spam when using Camera.Render (illegal accessing of cameraColorTarget)

Open lordubbe opened this issue 2 years ago • 0 comments

This PR moves the accessing of cameraColorTarget to OnCameraSetup from AddRenderPasses to get rid of warning spam when using Camera.Render in another object.

Not sure when this became necessary, but it turns out the fix was relatively simple, so I thought I'd share. I found out about this from this forum post: https://forum.unity.com/threads/azure-sky-dynamic-skybox.322773/page-27#post-6841583

lordubbe avatar Aug 05 '22 09:08 lordubbe