Call from function - Is it a bug in shader builder?
Call custom functions from a macro works Ok, but call custom function from another function doesn't work.
I read documentation center http://docs.daz3d.com/doku.php/artzone/pub/software/shaderbuilder/advanced_editing#addingediting_block_parameters and it is supposed to works with both functions and macros.
Documentation says for function:
"Required Function Blocks - A semi-colon (”;”) delimited list containing the names of other Function blocks in the Block Repository that are required by the Function block being edited."
It is exactly the same for macros:
Required Function Blocks - A semi-colon (”;”) delimited list containing the names of other Function blocks in the Block Repository that are required by the Function block being edited.
When I call from macro the function is used without problem, if I call same function from another function shader builder report the following error:
a3.sl: in function colorOverlay
a3.sl:10: ERROR: undefined 'color2float' function
a3.sl' aborted due to errors: 1 errors, 0 warnings.
Is there another Block Repository for functions? or Are there errors in documentation? or Is it a bug in shader builder?
EDIT: I am in DS4.6.0.18 even.