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.

Accessing shader parameters when rollout is replaced (replaceui:true) in a directx_9_shader derived plugin material

Accessing shader parameters when rollout is replaced (replaceui:true) in a directx_9_shader derived plugin material

Anonymous
Not applicable
191 Views
0 Replies
Message 1 of 1

Accessing shader parameters when rollout is replaced (replaceui:true) in a directx_9_shader derived plugin material

Anonymous
Not applicable
Hello,

I am having a hard time figuring out how to access shader parameters (the parameters available in the cgfx file) in a directx_9_shader derived material in which the replaceui property is true. When that flag is false, the shader parameters are easily accessible using Mtl.getReference(0) and then using its paramblock.

Thx for the help
0 Likes
192 Views
0 Replies
Replies (0)