Silverwing wrote:Congratulations everyone to the Release! I am happy to see the 4.0 being out and 2018.1 XB revealed!
I have a question about the Vertex and User Data Attributes:
Can someone show me how to access the vertex attributes in a shader. I have exported a test geometry with vertex color attributes. But I can´t find a vertex texture to map it to the material. I expected to find it under "Texture" "Geometric"
If its OSL. Whats the syntax to get the info into the color?
Thanks in adavance!
As a result of the OSL specification , to use a vertex attribute on a mesh, you need to match the type and name of the attribute in an osl shader (ie create a osl texture node, and make an input with the same name and type). Then make sure you disconnect the input node created on that pin.
We'll try to add a node that will do that.
FYI currently vertex attributes are not imported from ABC yet.