I have an issue with OSL shading in Houdini Solaris(18.5.499) using (HtoA 220.127.116.11).
I have written the below OSL shader. This works perfectly fine in Maya (MtoA 18.104.22.168), but when setting up the EXACT same shader network in Houdini the OSL part of it does not work. It doesn't seem to reading the "input" properly like it does in Maya.
It is definitely the OSL part of the shading network that is causing an issue, because I have tested WITHOUT the OSL shader in Maya and Houdini and then I get the same result. Only when I plug in the OSL shader does it stop working properly in Houdini.
1. Is there any reason why this shouldn't work in Houdini Solaris?
2. What can I do to make it work in Solaris or is this a bug?
OSL shader (same in Houdini and Maya).
Houdini Shader Network:
Maya shader network and result:
Maya(left) and Houdini(right) result without OSL shader, just with aiUtility and Random (which I want to plug into OSL input):