← All ideas
  • Published 6 Nov 2022

Geometry and Shader nodes : direction vectors of objects

It's very often useful to know the directions vectors of a given object. Maybe I've missed something, but AFAIK it's not always possible with the current available nodes in a shader or GN nodetree.

Knowing the right (+X), forward(+Y) and up (+Z) vectors of the transform (both in local and worldspace) of any object could be helpful in many cases.

And adding these outputs to the object info node should be easy.

0%

Development Status: Open

Upvote 0 Downvote 1
Alesk
6 Nov 2022

2 Comments

zbindenmarc

One way would be to use Geo Nodes for this. You can output the rotation from the Object Info Node as an attribute and use it in a shader.

modormoder

This is quite high-level data, which may not always be.