Blender Git Loki
Git Commits -> Revision 40eedd5
Revision 40eedd5 by Alexander Gavrilov (master) October 1, 2016, 11:37 (GMT) |
Cycles: implement partial constant folding for exponentiation. This is also an important mathematical operation that can be folded if it is known that one argument is a certain constant. For colors the operation is provided as a Gamma node. The SVM Gamma node needs a small fix to make it follow the 0 ^ 0 == 1 rule, same as the Power node, or the Gamma node itself in OSL mode. Reviewers: #cycles Differential Revision: https://developer.blender.org/D2263 |
Commit Details:
Full Hash: 40eedd5df9083ce54c38c6307946488a1fa8aae0
Parent Commit: 95fa303
Lines Changed: +139, -0