Does Shapes support Depth of Field in URP? Special setup?

Avatar
  • updated

I was using a URP Volume component with Depth of Field post-processing override module added and was having some difficulty calibrating the DOF to the shapes elements. It seemed like the shape assets would blur out faster than 3D mesh objects in the scene, as in a mesh would be outside of the DOF effect but the polygon shape around it would be as blurry as distant meshes. 

Reporting a bug? please specify Unity version:
2022.2.17
Reporting a bug? please specify Shapes version:
4.2.1
Reporting a bug? please specify Render Pipeline:
URP
Avatar
Freya Holmér creator

it would depend on how the DoF works, I would assume it uses the depth buffer, so it only works properly with shapes set to the Opaque blend mode (because they write to the depth buffer)