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

Not applicable
08-18-2009
02:05 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
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
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