1
$\begingroup$

How would I give a texture (left) a procedural spiral effect using the vector (right)?

Desired result demo

$\endgroup$
1

1 Answer 1

2
$\begingroup$

Finished node group

Full .blend linked below

Node Group

to start, let's create a node group to keep things organized.

  1. Go to your Shader editor and add a Vector Math node.
  2. Select the Vector Math and press Ctrl+G or right click and select Make Group.
  3. Optionally use the N-Panel > Group tab to set useful info like the Name and Color tag.

Spiral Nodes

Here's what the setup looks like: Vector Spiral nodes

We start by setting the vector Math node to Length. This results in an output inverse of a Gradient Texture set to Sphere, but without clamping.

Then, the Length output is piped into a Vector Power (see below) and Vector Multiply node. These are used for configuring the shape of the spiral.

Finally, a Vector Rotate node set to Euler. The real magic here is that all we're really doing is rotating the input vector, but at greater values the further we get from the origin, which is what the Length node is for.

Vector Power

Since the Power operation (currently) isn't available for Vector Math nodes, we have to do use a regular Math Power for each axis: Vector Power nodes

The End

I would use "Conclusion" instead, however, that term has been regrettably ruined by AI chatbots

You can create some interesting effects by playing with the values: Second demo of material with different values Github link to full library containing the nodes used here

This Q/A post is an experiment in creating detailed breakdowns of nodes I've created and compiled into a useful, refined library. If this was helpful to you, leave an upvote or star on Github and I'll make this an ongoing series!

$\endgroup$
7
  • 1
    $\begingroup$ "I'll make this an ongoing series!". Please don't, at least not on this Q&A site which is for answers to questions asked only! $\endgroup$ Commented Apr 24 at 8:29
  • $\begingroup$ What does "answers to questions asked only" mean? Stack exchange promotes self answers as far as I can see. If that's meant to mean avoiding duplicates then there is one that is similar, though the idea was to apply it in a broader sense. $\endgroup$ Commented Apr 24 at 8:36
  • $\begingroup$ @JohnEason this is an interesting subject: is creating duplicates intentionally (not sure if OP knew it is a dup), an actual violation of site's rules, or are you allowed to do that, with the posts simply being closed as duplicate (which won't interfere with OP that is posting Q/A at the same time). Of course a better place to discuss this is meta. Personally not only I don't mind, I think it's cool to see someone enthusiastic about Blender, creating a cohesive "series" and it should help the discoverability of former posts linked as duplicates. $\endgroup$ Commented Apr 24 at 8:45
  • 1
    $\begingroup$ It sounds as if you were suggesting posting a series of tutorials preceeded by an initial question. If so, this is not really the right place for it. - Single questions answered by the questioner are fine as they often answer obscure problems but I'm not sure they should be a regular feature here. $\endgroup$ Commented Apr 24 at 9:13
  • 1
    $\begingroup$ @MarkusvonBroady I agree that enthusiasm about Blender is a good thing but am not sure that posting a series of Q&A tutorials here is a good thing. $\endgroup$ Commented Apr 24 at 9:16

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.