Last active
September 1, 2020 21:54
-
-
Save rjmoggach/a0a44459ab98e3363dc1dcfe79caf046 to your computer and use it in GitHub Desktop.
Remap Black Body Ramp to normalized mask
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for( $i=0; $i<50; ++$i ) { | |
connectAttr -f nodeBlackBody.outCoord[$i] remapBlackBody.red[$i].rp; | |
connectAttr -f nodeBlackBody.outColor[$i].outColorR remapBlackBody.red[$i].rfv; | |
setAttr "remapBlackBody.ri" 2; | |
} | |
for( $i=0; $i<50; ++$i ) { | |
connectAttr -f nodeBlackBody.outCoord[$i] remapBlackBody.green[$i].gp; | |
connectAttr -f nodeBlackBody.outColor[$i].outColorG remapBlackBody.green[$i].gfv; | |
setAttr "remapBlackBody.gi" 2; | |
} | |
for( $i=0; $i<50; ++$i ) { | |
connectAttr -f nodeBlackBody.outCoord[$i] remapBlackBody.blue[$i].bp; | |
connectAttr -f nodeBlackBody.outColor[$i].outColorB remapBlackBody.blue[$i].bfv; | |
setAttr "remapBlackBody.bi" 2; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment