diff options
author | Thomas Dinges <blender@dingto.org> | 2013-03-31 05:18:10 +0400 |
---|---|---|
committer | Thomas Dinges <blender@dingto.org> | 2013-03-31 05:18:10 +0400 |
commit | 2c58e96685e80e4e12dfad56ed3bb51fa3824197 (patch) | |
tree | 15c34097befcecbb43b3f3e74bf0b1b76da84f1b /source/blender/gpu | |
parent | 1fea6220a2418b07bec8bbf49da00cc77094076f (diff) |
Cycles / Shader Graph optimization:
* Unnecessary shader inputs inside the Mix Shader are now ignored, in case the factor is 0.0 / 1.0 and not connected.
This way we save some render time for complex node graphs.
Example: http://www.pasteall.org/pic/show.php?id=48226
Check the Mix Shader at the end: In this case, Cycles will now avoid the complete huge shader tree, and only calculate the Diffuse Shader.
Rendertime decreased from 1:50 min to 1:20 min on CPU. GPU rendering benefits as well from this.
This only affects SVM, OSL was already doing these optimizations.
Diffstat (limited to 'source/blender/gpu')
0 files changed, 0 insertions, 0 deletions