I am working on an enhancement to the Voronoi texture, and would like to change a function signature, but I can’t do so without updating all callers with the new signature, and I can’t find where this function is called. The function is simply called voronoi()
with the signature:
void voronoi(point, string, float, float[4], point[4])
and it’s defined in intern\cycles\kernel\shaders\node_texture.h
. As the only files including this file are *.osl
files, I expect it’s an OSL function, but am new to shader languages and am not sure what I’m looking for. My guess is that this is called from C++ into OSL, but don’t know what such calls look like, or where to look for them.
Thanks in advance,
-Loren