Call Material function from Material Custom node

Yes I can do that using the Window > Shader Code > HLSL code menu item from the material blueprint but to give you and idea, the current version contains ~= 500 MaterialFloat* locals and I still need to provide HLSL readability to tech artists, static bool controls and variable change abilities For now, the custom node I’m writting has 15 inputs.
Picking relevant functions as you suggested makes sense but I fear not with a so big shader material.
The ability to call a Material function from HLSL would be awesome.

4 Likes