#CameraSortingLayerTexture in Universal Renderer Data

1 messages · Page 1 of 1 (latest)

marble folio
#

Hello, i was following this tutorial https://www.youtube.com/watch?v=8-E8Vp0l6wg which modified the CameraSortingLayerTexture in the Renderer 2D Data to create a blur shader. However this option no longer exists in Universal Renderer Data. Whats the new substitute? Thanks!
Edit: I actually managed to create a Renderer 2D Data after some digging and assigned it to the PC_RPAsset, but it still doesnt work lol

Show your Support & Get Exclusive Benefits on Patreon (Including Access to this project's Source Files + Code) - https://www.patreon.com/sasquatchbgames
Join our Discord Community! - https://discord.com/invite/aHjTSBz3jH

In this 2D Unity tutorial, I'll first show you, with shadergraph, how to create a simple sprite blur shader, to be used on yo...

▶ Play video
marble folio
#

I actually managed to create a Renderer 2D Data after some digging and assigned it to the PC_RPAsset, but it still doesnt work lol

quartz bramble
marble folio
#

it doesnt work

marble folio
quartz bramble
#

I guess many of the commenters are not using the 2D renderer, or even if they assign it to a URP asset, have not set that URP asset as the active one in Quality settings

marble folio
#

i already did that too

#

would you mind if i send you an Unity package containing the shader so that you can try it on your side?

quartz bramble
#

I have got a shader like it, and there's nothing noteworthy about it

#

Except perhaps that scope has to be Global

#

Also, I don't really know why the tutorial instructs creating a second camera
It doesn't seem necessary

marble folio
#

OMG IT WORKED

#

THANK YOU @quartz bramble

quartz bramble
#

To clarify as far as I can tell you can just place sprites in front of the blur onto a higher sorting layer

#

And have the sprite that does the blur on a sorting layer between the blurred background and the unblurred foreground objects

#

That should skip the need for the whole additional camera and camera stacking

marble folio
#

Thanks!