In my plugin I implemented instancing a while back using the methods discussed in this thread:
https://forums.chaosgroup.com/forum/...best-practices
It works flawlessly in VRay 3.6.
However, in VRay NEXT (after doing the SDK conversion by using the proper NEXT types like ShadeVec instead of Vector, etc)....if I render with no render elements, it renders fine. But if I add render elements (ex: VRayReflection)...the light cache pass looks fine but as soon as it starts actually rendering buckets, my geometry comes out black....just black holes...the alpha mattes other objects in the scene, the diffuse is black....it renders as if all my geo is set to matte. Not just invisible, but literally matting everything behind it and being black itself. I've stepped through my code and the surfaceProps I pass to the renderer are all normal, nothing else seems out of the ordinary, etc. It's not just the element pass that comes out like this, but every pass include base/diffuse.
Any ideas what could be causing this? I've scoured the NEXT plugin samples but can't see anything different between them and the 3.6 versions that would justify this problem. I'm sure it's just a simple switch I'm missing somewhere....
https://forums.chaosgroup.com/forum/...best-practices
It works flawlessly in VRay 3.6.
However, in VRay NEXT (after doing the SDK conversion by using the proper NEXT types like ShadeVec instead of Vector, etc)....if I render with no render elements, it renders fine. But if I add render elements (ex: VRayReflection)...the light cache pass looks fine but as soon as it starts actually rendering buckets, my geometry comes out black....just black holes...the alpha mattes other objects in the scene, the diffuse is black....it renders as if all my geo is set to matte. Not just invisible, but literally matting everything behind it and being black itself. I've stepped through my code and the surfaceProps I pass to the renderer are all normal, nothing else seems out of the ordinary, etc. It's not just the element pass that comes out like this, but every pass include base/diffuse.
Any ideas what could be causing this? I've scoured the NEXT plugin samples but can't see anything different between them and the 3.6 versions that would justify this problem. I'm sure it's just a simple switch I'm missing somewhere....
Comment