I need some help with a patch that I posted: D4602
From the patch:
BROKEN [WIP]: Minimal Viable Product: Proposed Voronoi Texture enhancements
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.
Sample blender file: VoronoiMinimalChangeTest.blend
The green streaks are places the values happen to match because Fac is close to zero.
All help and comments welcome. Thanks in advance.