Can anyone confirm that the _cameraOpaqueTexture does not render any URP sprites in the current version? I’ve tried just about everything and can’t get the texture to render any sprites, even those set as opaque.
Is there any fancy new approach to this, such as being able to render certain layers (even if theyre transparent) before doing the opaque texture grab? Seems like this might now be possibly but it’s hell trying to find any documentation that is up to date.
Scene Color Node is not working for me either (2019.3.0f3 + URP 7.1.7 + Shader graph 7.1.7) although I made the PBR master node surface to transparent.
I asked around 4 months ago and one of the Unity collaborators said that they are aware of this and that it will be fixed, but there is no dates for when that will happen
Hi, I’ve had similar issue, where I needed to use _CameraOpaqueTexture to create gravity distortion effect and managed to make it work with 2D Renderer, URP, Unity 2019.3
In this link https://unitylist.com/p/wsc/Shader-Graph-Experiments I’ve read that you can “create a second camera that renders to a texture and use that as a property instead of _CameraOpaqueTexture.” and that’ exactly what I’ve done:
Create render texture
Create secondary camera that display same content as main camera and set render texture to the texture you’ve just created.
In shader graph use this render texture instead of _CameraOpaqueTexture
I forgot to mention that I’ve set the second camera layers to not display the “default” layer.
Then I’ve set the layer of object displaying my gravity distortion effect to the “default” layer.
And at the end I’ve made sure that none of my objects is using the “default” layer (because I’m using this layer for the GrabPass)
I’ve done that because the effect was working on itself recursively and I’ve had the same “only white color” issue in play mode.
it is not,any current solution has massive performance issues, ideally Unity would add this feature back, but they don’t seem to consider it as a priority for some reason, when I saw that it was removed I expected it to be back in the next release, a year later, still no word about it
I really hope Unity communicate their 2DRenderer plans better. We know it is not supported pretty much… but will it ever be? I hate to be in a dark room…