bind export affects principle shader

   3017   4   2
User Avatar
Member
280 posts
Joined: Dec. 2015
Offline
I am exporting a set of packed cubes and using their point color information for the principle shader… everything works fine until I try to export also an AOV with bind export… the bind Exports affects the surface color and everything becomes white?
Attachment Not Found

Attachments:
testPackedColor.hip (540.3 KB)
Capture.JPG (31.5 KB)
Capture2.JPG (42.7 KB)
Capture3.JPG (55.4 KB)

https://www.imdb.com/name/nm8408875/ [www.imdb.com]
User Avatar
Member
280 posts
Joined: Dec. 2015
Offline
Ok, I solve part of the issue….
Apparently the issue happens when bind exporting the data outside of the material.
if I bind export it inside the principle shader everything is peachy…
I already reported it as a bug, as we should be able to bind export data outside as to properly use the power of the new material context….
https://www.imdb.com/name/nm8408875/ [www.imdb.com]
User Avatar
Member
1533 posts
Joined: March 2020
Offline
Yes this is a bit of a issue with the new MAT context, connecting binds to the shader as a property of sorts is a good idea.
HOD fx and lighting @ blackginger
https://vimeo.com/jasonslabber [vimeo.com]
User Avatar
Member
101 posts
Joined: May 2006
Offline
I have actually been using this process to create object mats using separate mat networks. Works quite well if you go in planning to do that.
User Avatar
Member
280 posts
Joined: Dec. 2015
Offline
JasonSlab
Yes this is a bit of a issue with the new MAT context, connecting binds to the shader as a property of sorts is a good idea.

Yep… The new MAT context is an awesome system.
So requiring to incorporate AOVs into each shader will kind of defeat that purpose.
I think this problem happens only when dealing with packed primitives and point color so I already report it as a bug:

bug #86507
https://www.imdb.com/name/nm8408875/ [www.imdb.com]
  • Quick Links