Do multiple references impact render time?

Do multiple references impact render time?

Anonymous
Not applicable
660 Views
3 Replies
Message 1 of 4

Do multiple references impact render time?

Anonymous
Not applicable

We're trying to get our node graphs under control at my office, and I am wondering if I reference the same network multiple times in a shader network will this affect performance? I am assuming that reference shaders are only evaluated once?

Also, how does the cache node fit in here? Should I place the cache on the outbound FROM the reference, or is it ok to place the cache inside the reference?

0 Likes
661 Views
3 Replies
Replies (3)
Message 2 of 4

Stephen.Blair
Community Manager
Community Manager

References aren't going to affect performance.

And if you're using these references in shaders applied to different objects, then the cache node won't help.

If you're connecting the output of a reference to multiple inputs, all in the same shader tree, then a cache node might help. Especially if this is in a volume shading tree.



// Stephen Blair
// Arnold Renderer Support
0 Likes
Message 3 of 4

Anonymous
Not applicable

Thank you @Stephen Blair. Specifically I am asking if multiple references to the same shader within another shader would affect performance:


658-screen-shot-2017-12-28-at-125359-pm.png


Will both setups perform similarly?

0 Likes
Message 4 of 4

Stephen.Blair
Community Manager
Community Manager

There's no difference between those two. After translation to Arnold, you end up with the exact same shader tree.



// Stephen Blair
// Arnold Renderer Support
0 Likes