...
In 3Delight, any parameter with no incoming connection will be optimize out (folded). In order to read any primitive variable from the geometry, the OSL network must contain a reader node that calls the getattribute()
function call and outputs it to the input parameter. This clearly states the behaviour of the network.
Most networks are automatically built by intermediate software and such nodes are easy to add automatically.
...