Announcements

Between mid-October and November, the content on AREA will be relocated to the Autodesk Community M&E Hub and the Autodesk Community Gallery. Learn more HERE.

OSL getattribute

OSL getattribute

felipeXYEEK
Explorer Explorer
1,357 Views
0 Replies
Message 1 of 1

OSL getattribute

felipeXYEEK
Explorer
Explorer

Hi! I've been trying to do something with OSL and I'm a bit stuck with it. I'm trying to use getAttribute.osl (also known as Named Attribute) to grab a value from an object attribute (or Scene) or object defined property but without any luck.
I need to assign from MaxScript an integer value to that Attribute so my Shader network can receive that value. 
I couldn't find anything helpful on the help docs so I was wondering if someone can give me a hint about this. 
Thanks a lot

0 Likes
1,358 Views
0 Replies
  • OSL
Replies (0)