Thursday, November 30, 2023
HomeVisual EffectsHow do I make a radial UV texture coordinate map?

How do I make a radial UV texture coordinate map?


If you wish to management UV offset or tiling, you are able to do that earlier than the VectorToRadial, and (if I bear in mind accurately) you possibly can seize DDY/DDX after your multiply/add, however earlier than the VTRV perform. I’m looking for the unique submit, nevertheless it was alongside the traces of “any sort of math utilized to the tex coord is okay to do DDY/DDX off of” so issues like Add and Multiply are effective.

I believe the Frac, Sqrt, and customized atan2 within the mat perform break that although




2 Likes

Good Radial UV Shader: https://twitter.com/Cerva_saiki/standing/1584282244943781888



2 Likes

I do know this thread is outdated however nonetheless related. In case you had been to have a texture for uv deformation and need the radial to have an effect on each however every have their very own totally different tiling values (say my most important texture is tiled by two however my uv deformation texture must be tiled by 0.5), how would you do that?
I’ve all of it wanting good if I don’t tile my uv deformation texture nevertheless it’s too small.

That is my most important texture’s radial node, occurring principally earlier than something:

Then afterward I’ve this:

However it’s not working. So I attempted disconnecting these and as an alternative placing only one proper after my UV deformation – earlier than panning. And it appears to work however I can not determine what method it’d be to have the middle of the radial be on the middle of my UVs, tried multiplying or including each of the tiling values, dividing that into 2, however nothing works. I’m so shut although

– EDIT: okay nvm, so apparently I simply wanted the primary texture’s tiling, not the uv deformation tiling. I want I might simply delete my disgrace nevertheless it leaves a stain on this discussion board so I’ll go away it right here for whoever else is facepalming over the identical factor.



RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments