Double Sided Transparent Shader URP

Hi,

I try to create a shader for a tube like object. I want it to be transparent and have front and back facing faces have shading.
It all works fine until i switch the surface from opaque to transparent in the shader.
Then I get this result:


(That is for the sake of clarity the default sphere in the preview)
What is happening here.
Is it not possible in URP to have a double sided and transparent object?

Thanks

Alex

1 Like

Hi Alex, same issue here. The object looks fine from the outside but one I “enter” the GameObject in PlayMode everything becomes white. Did you find a solution?
Thanks
Carla

you may be looking for a round math operation commonly called two-sided sign

i dont know about shader graph but you could find this in amplify editor

I still find it strange that there is no double sided switch in a shader that does that without hassle.
As I remember I did not invest that much more time in it but rather just doubled the faces and mirrored the normals.

But still curious for the solution though.