set cut_paste_input [stack 0]
version 12.2 v8
BackdropNode {
inputs 0
name BackdropNode7
tile_color 0xaaaaaa00
label "Moutch CC"
note_font_size 42
selected true
xpos -11862
ypos 2278
bdwidth 470
bdheight 340
z_order 1
}
push 0
add_layer {Pref Pref.red Pref.green Pref.blue}
Group {
name P_MASK
tile_color 0xb844ffff
note_font "Bitstream Vera Sans"
selected true
xpos -11643
ypos 2541
mapsize {0 0}
addUserKnob {20 pWorldMatte l "pWorld Matte"}
addUserKnob {26 pChannels l Channels}
addUserKnob {41 in l "pWorld Channel" T pworld_shuffle.in}
addUserKnob {26 ""}
addUserKnob {26 info l "" +STARTLINE T "Hold Ctrl+Alt to sample image"}
addUserKnob {41 center_1 l center T centerPicker.center}
addUserKnob {41 far l distance T picker.far}
addUserKnob {26 spacer l "" +STARTLINE T " "}
addUserKnob {7 expansion l "Expand Matte" R 0 1000}
expansion 3.2
addUserKnob {7 falloff l Falloff}
falloff 1
addUserKnob {41 size l "Blur Matte" T Blur1.size}
addUserKnob {26 space l "" +STARTLINE T " "}
addUserKnob {13 Center_Pivot_Offset l "Center Pivot Offset"}
addUserKnob {13 rotate l Rotate}
addUserKnob {13 scaleShape l Scale}
scaleShape {1 1 1}
addUserKnob {26 ""}
addUserKnob {4 output l "Matte Output" M {Sphere Cylinder X Y Z Distance Height "" "" "" "" ""}}
addUserKnob {26 ""}
addUserKnob {6 viewMatte l "View matte on Color" +STARTLINE}
addUserKnob {41 mix T visualize.mix}
addUserKnob {20 Flags l " "}
addUserKnob {26 Template_Version l "Template Version" +DISABLED T v0003}
addUserKnob {26 gizmo -STARTLINE T 004}
}
Input {
inputs 0
name PPass
xpos -40
ypos -759
}
Shuffle {
in Pref
alpha blue
name pworld_shuffle
xpos -40
ypos -716
}
NoOp {
name centerPicker
xpos -40
ypos -672
addUserKnob {20 picker l Picker}
addUserKnob {18 center}
center {0.685457468 111.4485779 -2.248117924}
addUserKnob {6 center_panelDropped l "panel dropped state" -STARTLINE +HIDDEN}
addUserKnob {6 center_panelDropped_1 l "panel dropped state" -STARTLINE +HIDDEN}
}
Add {
channels rgb
value {{-parent.centerPicker.center.r i} {-parent.centerPicker.center.g i} {-parent.centerPicker.center.b i} 0}
name Add1
xpos -40
ypos -612
}
ColorMatrix {
matrix {
{1 0 0}
{0 {cos(radians(parent.rotate.x)) i} {-sin(parent.rotate.x*pi/180) i}}
{0 {sin(parent.rotate.x*pi/180) i} {cos(parent.rotate.x*pi/180) i}}
}
name rotateX1
xpos -40
ypos -557
}
ColorMatrix {
matrix {
{{cos(parent.rotate.y*pi/180) i} 0 {sin(parent.rotate.y*pi/180) i}}
{0 1 0}
{{-sin(parent.rotate.y*pi/180) i} 0 {cos(parent.rotate.y*pi/180) i}}
}
name rotateY1
xpos -40
ypos -499
addUserKnob {20 User}
addUserKnob {1 a}
a cos(rotateY*pi/180)
addUserKnob {1 b}
b 0
addUserKnob {1 c}
c sin(rotateY*pi/180)
addUserKnob {1 d}
d 0
addUserKnob {1 e}
e 1
addUserKnob {1 f}
f 0
addUserKnob {1 g}
g -sin(rotateY*pi/180)
addUserKnob {1 h}
h 0
addUserKnob {1 i}
i cos(rotateY*pi/180)
}
ColorMatrix {
matrix {
{{cos(parent.rotate.z*pi/180) i} {-sin(parent.rotate.z*pi/180) i} 0}
{{sin(parent.rotate.z*pi/180) i} {cos(parent.rotate.z*pi/180) i} 0}
{0 0 1}
}
name rotateZ1
xpos -40
ypos -419
}
set N54b8bc00 [stack 0]
NoOp {
name picker
xpos 600
ypos -412
addUserKnob {20 picker l Picker}
addUserKnob {18 far}
far {0 0 0}
addUserKnob {6 far_panelDropped l "panel dropped state" -STARTLINE +HIDDEN}
addUserKnob {6 far_panelDropped_1 l "panel dropped state" -STARTLINE +HIDDEN}
}
set N54b8b800 [stack 0]
push $N54b8b800
Expression {
temp_name1 far
temp_expr1 picker.far.g
channel0 none
channel1 {-rgba.red rgba.green -rgba.blue -rgba.red}
expr1 "smoothstep( 0, far, g )"
channel2 none
channel3 none
name Y_Height_matte
xpos 600
ypos -132
}
Shuffle {
red green
blue green
alpha green
name Y_Height_shuffle
xpos 600
ypos -92
}
push $N54b8b800
Expression {
temp_name1 far
temp_expr1 picker.far.r
expr0 "smoothstep(0, far, r)"
channel1 none
channel2 none
channel3 none
name X_Distance_matte
xpos 440
ypos -132
}
Shuffle {
green red
blue red
alpha red
name X_Distance_shuffle
xpos 440
ypos -92
}
push $N54b8bc00
Add {
channels rgb
value {{"parent.centerPicker.center.r + parent.Center_Pivot_Offset.x"} {"parent.centerPicker.center.g + parent.Center_Pivot_Offset.y"} {"parent.centerPicker.center.b + parent.Center_Pivot_Offset.z"} {curve}}
name Add2
xpos -40
ypos -332
}
Expression {
temp_name0 x
temp_expr0 (-r+centerPicker.center.r+parent.expansion)*(r-centerPicker.center.r+parent.expansion)*((1/parent.expansion)*(1/parent.expansion))
temp_name1 y
temp_expr1 (-g+centerPicker.center.g+parent.expansion)*(g-centerPicker.center.g+parent.expansion)*((1/parent.expansion)*(1/parent.expansion))
temp_name2 z
temp_expr2 (-b+centerPicker.center.b+parent.expansion)*(b-centerPicker.center.b+parent.expansion)*((1/parent.expansion)*(1/parent.expansion))
expr0 x
expr1 y
expr2 z
name Expression1
xpos -40
ypos -292
}
Dot {
name Dot4
xpos -6
ypos -206
}
set N54b89c00 [stack 0]
Expression {
expr2 b/falloff
name z
xpos 280
ypos -132
}
Shuffle {
red blue
green blue
alpha blue
name Shuffle7
xpos 280
ypos -92
}
push $N54b89c00
Expression {
expr1 g/falloff
name y
xpos 120
ypos -132
}
Shuffle {
red green
blue green
alpha green
name Shuffle8
xpos 120
ypos -92
}
push $N54b89c00
Expression {
expr0 r/falloff
name x
xpos -40
ypos -132
}
Shuffle {
green red
blue red
alpha red
name Shuffle9
xpos -40
ypos -92
}
push $N54b89c00
Expression {
expr0 ((r*parent.scaleShape.x)+(b*parent.scaleShape.z))/(parent.falloff*2)
name cylinder
xpos -200
ypos -132
}
Shuffle {
green red
blue red
alpha red
name Shuffle3
xpos -200
ypos -92
}
push $N54b89c00
Expression {
expr0 ((r*parent.scaleShape.x)+(g*parent.scaleShape.y)+(b*parent.scaleShape.z))/(parent.falloff*3)
name sphere
xpos -360
ypos -132
}
Shuffle {
green red
blue red
alpha red
name Shuffle10
xpos -360
ypos -92
}
Switch {
inputs 8
which {{parent.output}}
name shape_switch
xpos 280
ypos 28
}
Clamp {
channels rgba
name Clamp1
xpos 279
ypos 72
}
Reformat {
type "to box"
box_width {{input.width}}
box_height {{input.height}}
box_fixed true
name Reformat1
xpos 279
ypos 98
}
Blur {
channels rgba
size 0.75
name Blur1
xpos 279
ypos 132
}
Premult {
name Premult1
xpos 279
ypos 221
}
Output {
name Output1
xpos 280
ypos 468
}
end_group
push 0
Dot {
name Dot147
label Float
selected true
xpos -11850
ypos 2321
hide_input true
}
Dot {
name Dot141
selected true
xpos -11850
ypos 2360
}
set N57c72800 [stack 0]
Dot {
name Dot145
selected true
xpos -11850
ypos 2434
}
add_layer {crypto_material00 crypto_material00.red crypto_material00.green crypto_material00.blue crypto_material00.alpha}
add_layer {crypto_material01 crypto_material01.red crypto_material01.green crypto_material01.blue crypto_material01.alpha}
add_layer {crypto_material02 crypto_material02.red crypto_material02.green crypto_material02.blue crypto_material02.alpha}
Cryptomatte {
name Tongue_SHDR
selected true
xpos -11744
ypos 2432
matteOutput alpha
matteList shaders:Tongue_SHDR
cryptoLayer crypto_material
expression "((crypto_material00.red == -1.48106400877e-26) ? crypto_material00.green : 0.0) + ((crypto_material00.blue == -1.48106400877e-26) ? crypto_material00.alpha : 0.0) + ((crypto_material01.red == -1.48106400877e-26) ? crypto_material01.green : 0.0) + ((crypto_material01.blue == -1.48106400877e-26) ? crypto_material01.alpha : 0.0) + ((crypto_material02.red == -1.48106400877e-26) ? crypto_material02.green : 0.0) + ((crypto_material02.blue == -1.48106400877e-26) ? crypto_material02.alpha : 0.0) + 0"
keyedName ""
manifestKey ""
updateFrame {{curve}}
previewExpression0 "((mantissa(abs(crypto_material00.red)) * 1 % 0.25) * crypto_material00.green + (mantissa(abs(crypto_material00.blue)) * 1 % 0.25) * crypto_material00.alpha + (mantissa(abs(crypto_material01.red)) * 1 % 0.25) * crypto_material01.green + (mantissa(abs(crypto_material01.blue)) * 1 % 0.25) * crypto_material01.alpha)"
previewExpression1 "((mantissa(abs(crypto_material00.red)) * 16 % 0.25) * crypto_material00.green + (mantissa(abs(crypto_material00.blue)) * 16 % 0.25) * crypto_material00.alpha + (mantissa(abs(crypto_material01.red)) * 16 % 0.25) * crypto_material01.green + (mantissa(abs(crypto_material01.blue)) * 16 % 0.25) * crypto_material01.alpha)"
previewExpression2 "((mantissa(abs(crypto_material00.red)) * 64 % 0.25) * crypto_material00.green + (mantissa(abs(crypto_material00.blue)) * 64 % 0.25) * crypto_material00.alpha + (mantissa(abs(crypto_material01.red)) * 64 % 0.25) * crypto_material01.green + (mantissa(abs(crypto_material01.blue)) * 64 % 0.25) * crypto_material01.alpha)"
previewExpression3 ""
previewChannel none
in00 crypto_material00
in01 crypto_material01
in02 crypto_material02
in03 none
in04 none
in05 none
in06 none
in07 none
in08 none
in09 none
in10 none
in11 none
}
push 0
Dot {
name Dot146
label CLR
selected true
xpos -11806
ypos 2331
hide_input true
}
Dot {
name Dot140
selected true
xpos -11806
ypos 2400
}
set N57c72c00 [stack 0]
add_layer {Mouthbag_AOV Mouthbag_AOV.red Mouthbag_AOV.green Mouthbag_AOV.blue}
Shuffle {
in Mouthbag_AOV
name Shuffle1
label "\[value in]"
selected true
xpos -11839
ypos 2488
}
Merge2 {
inputs 2
operation disjoint-over
name Merge4
selected true
xpos -11744
ypos 2494
}
push $N57c72c00
Dot {
name Dot121
selected true
xpos -11601
ypos 2400
}
add_layer {diffuse_albedo diffuse_albedo.red diffuse_albedo.green diffuse_albedo.blue diffuse_albedo.alpha}
Shuffle {
in diffuse_albedo
name Shuffle2
label "\[value in]"
selected true
xpos -11634
ypos 2433
}
Merge2 {
inputs 2
operation mask
name Merge2
selected true
xpos -11634
ypos 2494
}
push $N57c72800
Cryptomatte {
name Teeth_SHDR
selected true
xpos -11700
ypos 2358
matteOutput alpha
matteList shaders:Teeth_SHDR
cryptoLayer crypto_material
expression "((crypto_material00.red == -2.8671221281e-30) ? crypto_material00.green : 0.0) + ((crypto_material00.blue == -2.8671221281e-30) ? crypto_material00.alpha : 0.0) + ((crypto_material01.red == -2.8671221281e-30) ? crypto_material01.green : 0.0) + ((crypto_material01.blue == -2.8671221281e-30) ? crypto_material01.alpha : 0.0) + ((crypto_material02.red == -2.8671221281e-30) ? crypto_material02.green : 0.0) + ((crypto_material02.blue == -2.8671221281e-30) ? crypto_material02.alpha : 0.0) + 0"
keyedName ""
manifestKey ""
updateFrame {{curve}}
previewExpression0 "((mantissa(abs(crypto_material00.red)) * 1 % 0.25) * crypto_material00.green + (mantissa(abs(crypto_material00.blue)) * 1 % 0.25) * crypto_material00.alpha + (mantissa(abs(crypto_material01.red)) * 1 % 0.25) * crypto_material01.green + (mantissa(abs(crypto_material01.blue)) * 1 % 0.25) * crypto_material01.alpha)"
previewExpression1 "((mantissa(abs(crypto_material00.red)) * 16 % 0.25) * crypto_material00.green + (mantissa(abs(crypto_material00.blue)) * 16 % 0.25) * crypto_material00.alpha + (mantissa(abs(crypto_material01.red)) * 16 % 0.25) * crypto_material01.green + (mantissa(abs(crypto_material01.blue)) * 16 % 0.25) * crypto_material01.alpha)"
previewExpression2 "((mantissa(abs(crypto_material00.red)) * 64 % 0.25) * crypto_material00.green + (mantissa(abs(crypto_material00.blue)) * 64 % 0.25) * crypto_material00.alpha + (mantissa(abs(crypto_material01.red)) * 64 % 0.25) * crypto_material01.green + (mantissa(abs(crypto_material01.blue)) * 64 % 0.25) * crypto_material01.alpha)"
previewExpression3 ""
previewChannel none
in00 crypto_material00
in01 crypto_material01
in02 crypto_material02
in03 none
in04 none
in05 none
in06 none
in07 none
in08 none
in09 none
in10 none
in11 none
}
push 0
Grade {
inputs 1+1
white 1.5
name Grade11
selected true
xpos -11480
ypos 2358
}
Merge2 {
inputs 2
mix 0.4
name Merge3
selected true
xpos -11480
ypos 2494
}
Grade {
inputs 1+1
white 0.48
name Grade12
selected true
xpos -11480
ypos 2547
}