How to transform uv to radial shape

SbingBong
Fri, 17 Mar 2017 14:32:36 +0000
Rendering

I’m looking for a way to take world position coordinates masked to R & G (x,y) and feed it into the custom uvs property so it makes a texture sample near zero width at the top and wrap into itself at 360 degrees. I’ve been scratching my head for awhile. I’m stuck on the idea that y is probably distance of x,y to origin, and x is multiplied by the distance but everything I try is a mess.

In essence

becomes

5 posts - 4 participants