magneto Posted March 4, 2015 Share Posted March 4, 2015 Hi, I was looking at Mantra Surface material and was trying to find out how emission is implemented but it seems like it's not used inside the Surface Model subnet? It works when I turn it on though. I used View Dependencies tool and it shows no dependencies or references for these parameters. Any idea on how they influence the resulting shader and how they are implemented? Thanks Quote Link to comment Share on other sites More sharing options...
jkunz07 Posted March 4, 2015 Share Posted March 4, 2015 I believe it's in /mantrasurface/surfaceModel/computelighting1 where Ce is exported The emission intensity and color get brought in via /mantrasurface/surfaceModel/subinput_opacity 1 Quote Link to comment Share on other sites More sharing options...
magneto Posted March 4, 2015 Author Share Posted March 4, 2015 (edited) Thanks John, I thought it's only exporting passes. Also it has no reference to Emission parameters. So not sure how they drive these. Edited March 4, 2015 by magneto Quote Link to comment Share on other sites More sharing options...
jkunz07 Posted March 4, 2015 Share Posted March 4, 2015 The parameters are referenced using /mantrasurface/surfaceModel/subinput_opacity This node is a reference to all the parameters but only some are exposed on that instance for cleanlinessWith Ce/Emission exporting it as a variable makes it available as a pass (AOV) as well as emissive Emission illuminates objects is handled by making emission visible to secondary rays 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.