Cycles: some mix node blend modes not working correct:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>
Fri, 27 May 2011 09:38:49 +0000 (09:38 +0000)
committerBrecht Van Lommel <brechtvanlommel@pandora.be>
Fri, 27 May 2011 09:38:49 +0000 (09:38 +0000)
subtract, screen, divide, difference, darken, lighten, overlay

patch by Sanne, thanks!

intern/cycles/kernel/svm/svm_types.h

index 769ccfc9bc0395a95be6117aaf12f3634fcfb7f3..5cbd05e4400d560a2f7a926f966bf2ce7e897ddd 100644 (file)
@@ -119,13 +119,13 @@ typedef enum NodeMix {
        NODE_MIX_BLEND = 0,
        NODE_MIX_ADD,
        NODE_MIX_MUL,
-       NODE_MIX_SCREEN,
-       NODE_MIX_OVERLAY,
        NODE_MIX_SUB,
+       NODE_MIX_SCREEN,
        NODE_MIX_DIV,
        NODE_MIX_DIFF,
        NODE_MIX_DARK,
        NODE_MIX_LIGHT,
+       NODE_MIX_OVERLAY,
        NODE_MIX_DODGE,
        NODE_MIX_BURN,
        NODE_MIX_HUE,