-
Notifications
You must be signed in to change notification settings - Fork 411
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
'CameraData.renderer' is inaccessible due to its protection level #39
Comments
i figured out a solution. posting here for anyone who has the same issue.
|
|
i have failed to do this, can you explain in detail |
In Instead, you can replace it by this : In the Frame Debugger, you can see the _CameraColorTexture in action notably in the Copy Color Pass. Once you have a RenderTargetIdentifier, you can use Blit on the command buffer as a source or destination texture. Happy Post-Processing ;) |
this solved the problem cheers mate |
I added KawaseBlur render feature to my project from the 3DCharacterUI project and unity complains:
'CameraData.renderer' is inaccessible due to its protection level
It seems as though the renderer is no longer accessible from "renderingData.cameraData" in the execute method of ScriptableRenderPass. It must be marked protected at some point in development. Is there a new way to access the renderer, or even better the "cameraColorTarget" from this Execute function? I am using Unity 2019.4.1.1f1 / UniversalRP 7.3.1
The text was updated successfully, but these errors were encountered: