admin管理员组文章数量:1244214
I try to write an openmaya viewport 2.0 shader in maya that read couple of vec4 custom attributes on instances for the logic of the shader. Ideally bifrost instances but it can be geo instanced in mash or particles.
How do I access write a plugin that read the instanceId and custom attributes on instances to feed data to a viewport 2.0 shader?
I tried to write a surfaceshader override with a vertexbuffergenerator but cannot figure out how to stream more than one vertexbuffer, how to access instanceId and custom attributes of the bifrost instances or instance geo on particles or mash.
本文标签: viewportMaya shader access instance attributesStack Overflow
版权声明:本文标题:viewport - Maya shader access instance attributes - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1740205221a2240952.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论