This patch makes the Vector Rotate node from the shader compatible with Geometry Nodes.
{F9820996}
This node allows for easy rotation of direction based attribute falloffs like linear or radial gradients either directly with the node or controlled with an empty.
Linear Attribute gradient (visualized with Eevee) rotated by an empty:**Use Case**
{F9794879}
Here's the scene I used in the recording:
{F9794880}This node allows for easy rotation of direction based attribute falloffs like linear or radial gradients either directly with the node or controlled with an empty.
**Exposing the Vector input sliders**
This patch also makes a small change to the node by exposinges the input sliders for the Vector input. I madeWhen using this change becausenode with geometry nodes, when using this node with geometryI found that often I'd only need one fixed direction as a base value to be rotated with the nodes,. I found it to be more common to simply have one input vector and thisThe vector input being exposed avoids having to create a vector input node in those cases.
The downside is that it makes the node taller, when no input is plugged in,in and it’s a little less clear what the main input is., But overall it's consistent with the Mapping node,what the 'main' input is. so it should be fineBut overall this change is consistent with the Mapping node.
{F9821034}
**Example**
Linear Attribute gradient (visualized with Eevee) rotated by an empty:
{F9794879}
{F9794880}