Blender Git Loki
Git Commits -> Revision 2c58e96
Revision 2c58e96 by Thomas Dinges (master) March 31, 2013, 01:18 (GMT) |
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. |
Commit Details:
Full Hash: 2c58e96685e80e4e12dfad56ed3bb51fa3824197
Parent Commit: 1fea622
Lines Changed: +39, -0
1 Modified Path:
/intern/cycles/render/graph.cpp (+39, -0) (Diff)