Update to URP?
Hi there! I was trying to convert these examples to URP as of 2019.3.0f1 but had no success. Would you, please, try to update it?
BlurryRefractions do work in URP (2019.3.0f6), but selective Bloom does not. Then there are errors on the scripts attached to camera" The script 'GrabBlurPass' does not derive from MonoBehaviour, but has been added to Game Object 'Main Camera'. Please remove the script from the Game Object to avoid crashes. The script 'PerObjectBloomPass' does not derive from MonoBehaviour, but has been added to Game Object 'Main Camera'. Please remove the script from the Game Object to avoid crashes.
This is because the PostProcessLayer is not working in URP. So I have got it working by converting the PerObjectBloom.cs to ScriptableRendererFeature.
The PerObjectBloomPass, which is ScriptableRendererFeature, gets converted automatically, then you need to manually change ShaderTagId from "LightWeightForward" to "UniversalForward".
@tomekkie Hi, can you share how to convert PerObjectBloom.cs to a ScriptableRendereFeature and change ShadeTagId from LightWeightForward to UniversalForward?
My project needs URP and I'm tryint o get this to work. I'm pretty new to Unity so any help is appreciated.
Go to the master branch https://github.com/Unity-Technologies/UniversalRenderingExamples/tree/master. It says there this is already updated to URP 10.x.x. and Unity 2020.1.0a18. You can also take a look at my free asset https://assetstore.unity.com/packages/vfx/shaders/world-space-fading-transitions-98207, where I used some modified version of this bloom effect in the asset demo scenes for urp. It works in Unity 2020.3.0f1 and URP 10.3.2 there.