Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

lordubbe
Copy link

@lordubbe lordubbe commented Aug 5, 2022

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

…asses to get rid of warning spam when using Camera.Render

Not sure when this became necessary, but it turns out the fix was relatively simple.
I found out about this from this forum post: https://forum.unity.com/threads/azure-sky-dynamic-skybox.322773/page-27#post-6841583
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant