Could someone help me out.
Octane supports only 4 gray scale vertex attributes and only 2 vector vertex attributes.
In my setup that is not enough. So I would like to put 3 single float attributes in one vector and split this in OSL.
My question is: can you use the argument 'getattribute' to get and attribute from the geometry and use it in OSL (for example a vertex color attribute)?
Because I can not get it working. Help would be appreciated.
I got this (in this test I only put a float attribute on the geometry named: a).
shader OslTexture(
output color c = 0)
{
float b = 0.0;
getattribute("geom:a",b);
c = color(b, b, b);
}