Message 1 of 2
Using MPxShaderOverride within MPxGeometryOverride?

Not applicable
01-06-2014
04:16 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
I am trying to use a custom MPxShaderOverride plugin to render an MPxGeometryOverride. The SDK documentation says this should be possible but I can see any example.
The only way I see one can use a particular shader in geomerty override is to set a shader for renderItems and the function to do this allows only MShaderInstance type shaders. To make things worse, the shader created through MShaderInstance ignores most of the semantics in my shader.
Does anyone has an experience with this?
Thanks.
- Moumine