Blender Git Loki
Git Commits -> Revision 2482bb1
Revision 2482bb1 by Alexander Gavrilov (blender-v2.78b-release, blender-v2.78c-release, fracture_modifier, fracture_modifier-master, temp-fracture-modifier-2.8) January 20, 2017, 10:25 (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: 2482bb1d723b580c36c35f40f43d72713559a3b5
Parent Commit: 7ef3dfe
Committed By: Sergey Sharybin
Lines Changed: +139, -0