How to Render Coloured Packed Objects in Mantra w/o unpack?
1203 2 0-
- icecreamumai
- Member
- 65 posts
- Joined: 3月 2012
- Offline
-
- tamte
- Member
- 9118 posts
- Joined: 7月 2007
- Offline
in the shader you can access any attribute that lives on packed primitive geo using Render State VOP with packed: prefix like packed:Cd (see attached file)
or if using Principled shader and want diffuse Cd or opacity Alpha, just check Packed Color or Packed Alpha
you can also use Material Stylesheets for more complex overrides
or if using Principled shader and want diffuse Cd or opacity Alpha, just check Packed Color or Packed Alpha
you can also use Material Stylesheets for more complex overrides
Tomas Slancik
CG Supervisor
Framestore, NY
CG Supervisor
Framestore, NY
-
- icecreamumai
- Member
- 65 posts
- Joined: 3月 2012
- Offline
tamte
in the shader you can access any attribute that lives on packed primitive geo using Render State VOP with packed: prefix like packed:Cd (see attached file)
or if using Principled shader and want diffuse Cd or opacity Alpha, just check Packed Color or Packed Alpha
you can also use Material Stylesheets for more complex overrides
Thank you so much, tamte!
With your help, I finally managed to render packed objects with colored texture, too.
Material Stylesheets is where I have avoided using it, because it seems complicated...
It is good to know using "render state node" for accessing information of packed attributes.
Thanks for the Principled shader info as well!
-
- Quick Links