#How can I make a fisheye effect on a UI image with shadergraph?

1 messages · Page 1 of 1 (latest)

formal merlin
#

I tried the spherize effect, but it doesn't have the intended effect I wanted.

small elk
formal merlin
small elk
# formal merlin im trying to make a CRT tv effect, but when I use spherize there's like this wei...

The distortion is spherical, but the image is rectangular
So inevitably if the spherical area of the distortion extends outside the rectangular image area, or the spherical area ends before the image does, there will be visual artifacts
Because CRTs aren't really spheres, but curved like a patch from the surface of a larger sphere, you can mostly solve this by scaling the size of the spherize effect

#

The node doesn't have that kind of size variable, but you can achieve the same result by first scaling the image UVs smaller, then spherizing, then scaling the result larger