This is my first baby-step contributing to Blender. I have several enhancements I'd like to make to the Voronoi texture, and this is simply a proof-of-concept/ first step:
"Fac" is a linear value, but it really represents the magnitude of an "Offset" vector. My first task (as I tried to do in this patch) is to expose the offset vector, in addition to the scalar "Fac".
The Offset output I created currently is just returning (0,0,0) instead of the intended offset. I'm sure I made a newbie mistake, but I just don't see it. Can you help me figure out while the value of Offset isn't populating?
I will attach a sample .blend file to the post that links to this diff.
Thank you,
-Loren