Unity URP Skybox shader Graph not wrapping properly

Hello, im having this weird problem where when creating a skybox shader for the Skybox Material in the Lighting > Environment tab. I have followed all the tutorials i could find and noone is having this problem.
There is a visible seem in the middle of the sky that goes all arround the sky(see picture)


, it looks like its not trying to wrap onto a sphere but rather onto a plane but i dont know how to fix it.
here are my environment sky settings:
.
dont know if this information is important but as for the shader graph’s UV im using a position node set to world position and having it go through a normalize node(exactly as in all the tutorials), but no matter what i change it too the seem is still there so that tells me its not a shader problem.
Ive gone through all the settings and nothing seems to work.
Help would be very appreciated!

2 Answers

2

The source of the problem here is that Voronoi node accepts float2 UV input.

When you pass float3 position there - it will become a float2( pos.x , pos.y ). Resulting in, basically, a planar projection.

I certainly noticed that some tutorials avoid addressing or even straight-up communicating this detail.

_

Here is something that might help you, maybe. This graph creates a skybox UV that wraps nicely around the horizons and tries to hide all the ugly distortions far below the horizon.

shader graph sky uv seamless wrap

hello @andrew-lukasik, I know this is an old post but I do wonder if there is any chance you can do the same as this graph in shader script ? thanks in advance.

hello @andrew-lukasik, I know this is an old post but I do wonder if there is any chance you can do the same as this graph in shader script ?

thanks in advance.