Background Blur node in Unity UI?

Now that we have the new Polyspatial Background Blur node, I’m wondering if we can create Unity UI with the native glass look? Does anyone have an example of that?

There was an example made during a stream.

It seems like they might have added this to the sample scenes? I’m not sure.

There’s a sample of using the PolySpatial Background Blur node in the HoverComponent sample scene, though that doesn’t use UGUI. We don’t have a specific UGUI sample, but the general idea would be to copy the shader that PolySpatial uses for UI images (Packages/PolySpatial/Resources/Shaders/MaskingShader.shadergraph), modify it to use the PolySpatial Background Blur node rather than the image color, and then use the modified shader graph in a custom material on the Image component.

Thanks! I managed to get it working using an Unlit URP shader graph in a material on the Image component.

1 Like