Shader created from shadergraph doesn't work as post effect in HDRP

Hello,
I created a distortion shader in shadergraph, which works fine just putting a quad in from of the camera but for some reason the border of the quad appears sometimes when i rotate the camera, so i decided to make a post effect in hdrp but it doesn’t accept shader graphs so i generated the shader and created a C# volume file with the same name as the shader, i added the post effect in hdrp settings and also override the effect in scene, but i don’t get any distortion, the image just appear as if had a semi transparent filter. I modified the C# volume to change the shader variables but doesn’t change the results.

Unity added a fullscreen shader graph node in more recent versions of the SRPs, I am assuming that would be the right thing to use for such an effect, but haven’t tried it yet…

Thanks, i got to solve it changing the shadergraph to always face the camera like a billboard, but i didn’t know about the fullscreen shader

1 Like