Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Gizmo {
- addUserKnob {20 extrude}
- addUserKnob {7 distance t "extrusion distance" R 0 0.01}
- distance 0.006
- addUserKnob {26 ""}
- addUserKnob {26 website l "" +STARTLINE T "<a href=\"https://www.maxvanleeuwen.com\"><font color=\"#b2b2b2\">maxvanleeuwen.com</font></a>"}
- addUserKnob {20 light}
- addUserKnob {6 relight t "enables lighting\n\ndisable if you want to do the relighting yourself (using the P and N pass in the 'out' tab)" +STARTLINE}
- relight true
- addUserKnob {26 "" +STARTLINE}
- addUserKnob {7 rotation t "rotate the light around the text" R 0 359}
- addUserKnob {26 ""}
- addUserKnob {41 color T Light2.color}
- addUserKnob {41 intensity T Light2.intensity}
- addUserKnob {41 falloff_type l "falloff type" T Light2.falloff_type}
- addUserKnob {20 quality}
- addUserKnob {68 repeatn l "repeat normals" t "repeat the normal edges\n\nwill increase the quality of the relighting, but it might chop edges off (especially with thin fonts)" M {0 1 2 3 4 5 "" ""}}
- repeatn 3
- addUserKnob {3 layers t "multiply the amount of particles (x10) used to render the extrusion\n\nhigher values increase quality, but slow down rendering significantly"}
- layers 5
- addUserKnob {26 ""}
- addUserKnob {41 antialiasing T ScanlineRender2.antialiasing}
- addUserKnob {41 samples T ScanlineRender2.samples}
- addUserKnob {20 out}
- addUserKnob {6 N t "output a normal pass for the text" +STARTLINE}
- N true
- addUserKnob {6 P t "output a position pass for the text" +STARTLINE}
- P true
- }
- BackdropNode {
- inputs 0
- name BackdropNode1
- tile_color 0x4c4c4cff
- label "fake normals"
- note_font_size 42
- xpos 72
- ypos -338
- bdwidth 189
- bdheight 417
- }
- BackdropNode {
- inputs 0
- name BackdropNode2
- tile_color 0x4c4c4cff
- label "particle stack"
- note_font_size 42
- xpos 72
- ypos 162
- bdwidth 255
- bdheight 312
- }
- BackdropNode {
- inputs 0
- name BackdropNode3
- tile_color 0x4c4c4cff
- label light
- note_font_size 42
- xpos -144
- ypos 583
- bdwidth 459
- bdheight 301
- }
- BackdropNode {
- inputs 0
- name BackdropNode4
- tile_color 0x4c4c4cff
- label "original in front"
- note_font_size 42
- xpos 59
- ypos 1021
- bdwidth 160
- bdheight 153
- }
- BackdropNode {
- inputs 0
- name BackdropNode5
- tile_color 0x4c4c4cff
- label "output channels"
- note_font_size 42
- xpos 58
- ypos 1240
- bdwidth 150
- bdheight 163
- }
- BasicMaterial {
- inputs 0
- diffuse 1
- specular 0
- name BasicMaterial3
- xpos -22
- ypos 749
- }
- Dot {
- name Dot9
- xpos 12
- ypos 819
- }
- Camera2 {
- inputs 0
- translate {0 0 1}
- name Camera2
- xpos 253
- ypos 658
- }
- set N93366380 [stack 0]
- Dot {
- name Dot8
- xpos 277
- ypos 854
- }
- Axis2 {
- inputs 0
- rotate {0 0 {parent.rotation}}
- name Axis1
- xpos -113
- ypos 682
- }
- Light2 {
- translate {0 0.5 0}
- depthmap_slope_bias 0.01
- name Light2
- xpos -113
- ypos 748
- }
- Dot {
- name Dot7
- xpos -89
- ypos 854
- }
- push $N93366380
- Input {
- inputs 0
- name Input1
- xpos 99
- ypos -492
- }
- Dot {
- name Dot10
- xpos 133
- ypos -393
- }
- set Nca955500 [stack 0]
- Dot {
- name Dot1
- xpos 223
- ypos -393
- }
- set Nca955180 [stack 0]
- Dot {
- name Dot2
- xpos 223
- ypos 20
- }
- push $Nca955500
- Expression {
- temp_name0 m1
- temp_expr0 "a(x-1,y) < a(x+1, y) ? -1 : 1"
- temp_name1 m2
- temp_expr1 "a(x,y-1) < a(x, y+1) ? -1 : 1"
- expr0 "((a(x-1,y) + a(x+1,y)) / 2) * m1"
- expr1 "((a(x,y-1) + a(x,y+1)) / 2) * m2"
- expr2 0
- channel3 none
- name FakeEdgeNormals
- xpos 99
- ypos -267
- }
- Expression {
- expr0 "r == 1 ? (r(x-1,y) == 1 ? (r(x+1, y) == 1 ? (1) : (r(x+1,y))) : (r(x-1,y))) : (r)"
- expr1 "g == 1 ? (g(x,y-1) == 1 ? (g(x, y+1) == 1 ? (1) : (g(x,y+1))) : (g(x,y-1))) : (g)"
- channel2 {-rgba.red -rgba.green -rgba.blue none}
- channel3 none
- name RepeatNormals
- xpos 99
- ypos -198
- disable {{"parent.repeatn - 1 < 0"}}
- }
- Expression {
- expr0 "r == 1 ? (r(x-1,y) == 1 ? (r(x+1, y) == 1 ? (1) : (r(x+1,y))) : (r(x-1,y))) : (r)"
- expr1 "g == 1 ? (g(x,y-1) == 1 ? (g(x, y+1) == 1 ? (1) : (g(x,y+1))) : (g(x,y-1))) : (g)"
- channel2 {-rgba.red -rgba.green -rgba.blue none}
- channel3 none
- name RepeatNormals1
- xpos 99
- ypos -172
- disable {{"parent.repeatn - 1 < 1"}}
- }
- Expression {
- expr0 "r == 1 ? (r(x-1,y) == 1 ? (r(x+1, y) == 1 ? (1) : (r(x+1,y))) : (r(x-1,y))) : (r)"
- expr1 "g == 1 ? (g(x,y-1) == 1 ? (g(x, y+1) == 1 ? (1) : (g(x,y+1))) : (g(x,y-1))) : (g)"
- channel2 {-rgba.red -rgba.green -rgba.blue none}
- channel3 none
- name RepeatNormals2
- xpos 99
- ypos -146
- disable {{"parent.repeatn - 1 < 2"}}
- }
- Expression {
- expr0 "r == 1 ? (r(x-1,y) == 1 ? (r(x+1, y) == 1 ? (1) : (r(x+1,y))) : (r(x-1,y))) : (r)"
- expr1 "g == 1 ? (g(x,y-1) == 1 ? (g(x, y+1) == 1 ? (1) : (g(x,y+1))) : (g(x,y-1))) : (g)"
- channel2 {-rgba.red -rgba.green -rgba.blue none}
- channel3 none
- name RepeatNormals3
- xpos 99
- ypos -120
- disable {{"parent.repeatn - 1 < 3"}}
- }
- Expression {
- expr0 "r == 1 ? (r(x-1,y) == 1 ? (r(x+1, y) == 1 ? (1) : (r(x+1,y))) : (r(x-1,y))) : (r)"
- expr1 "g == 1 ? (g(x,y-1) == 1 ? (g(x, y+1) == 1 ? (1) : (g(x,y+1))) : (g(x,y-1))) : (g)"
- channel2 {-rgba.red -rgba.green -rgba.blue none}
- channel3 none
- name RepeatNormals4
- xpos 99
- ypos -94
- disable {{"parent.repeatn - 1 < 4"}}
- }
- add_layer {N N.red N.green N.blue N.alpha}
- Shuffle {
- in rgb
- alpha black
- out N
- name Shuffle1
- label "\[value in]"
- xpos 99
- ypos -35
- }
- Copy {
- inputs 2
- channels rgb
- name Copy1
- xpos 99
- ypos 3
- }
- Dot {
- name Dot5
- xpos 133
- ypos 236
- }
- set Nca99b880 [stack 0]
- Dot {
- name Dot4
- xpos 270
- ypos 236
- }
- BasicMaterial {
- diffuse 0
- specular 0
- name BasicMaterial2
- xpos 236
- ypos 332
- }
- Dot {
- name Dot6
- xpos 270
- ypos 430
- }
- push $Nca99b880
- Card2 {
- cast_shadow false
- receive_shadow false
- rows 2
- columns {{rows}}
- lens_in_focal 50
- lens_in_haperture 24.576
- rotate {-90 0 0}
- control_points {3 3 3 6
- 1 {-0.5 -0.5 0} 0 {0.1666666865 0 0} 0 {0 0 0} 0 {0 0.1666666865 0} 0 {0 0 0} 0 {0 0 0}
- 1 {0 -0.5 0} 0 {0.1666666716 0 0} 0 {-0.1666666716 0 0} 0 {0 0.1666666865 0} 0 {0 0 0} 0 {0.5 0 0}
- 1 {0.5 -0.5 0} 0 {0 0 0} 0 {-0.1666666865 0 0} 0 {0 0.1666666865 0} 0 {0 0 0} 0 {1 0 0}
- 1 {-0.5 0 0} 0 {0.1666666865 0 0} 0 {0 0 0} 0 {0 0.1666666716 0} 0 {0 -0.1666666716 0} 0 {0 0.5 0}
- 1 {0 0 0} 0 {0.1666666716 0 0} 0 {-0.1666666716 0 0} 0 {0 0.1666666716 0} 0 {0 -0.1666666716 0} 0 {0.5 0.5 0}
- 1 {0.5 0 0} 0 {0 0 0} 0 {-0.1666666865 0 0} 0 {0 0.1666666716 0} 0 {0 -0.1666666716 0} 0 {1 0.5 0}
- 1 {-0.5 0.5 0} 0 {0.1666666865 0 0} 0 {0 0 0} 0 {0 0 0} 0 {0 -0.1666666865 0} 0 {0 1 0}
- 1 {0 0.5 0} 0 {0.1666666716 0 0} 0 {-0.1666666716 0 0} 0 {0 0 0} 0 {0 -0.1666666865 0} 0 {0.5 1 0}
- 1 {0.5 0.5 0} 0 {0 0 0} 0 {-0.1666666865 0 0} 0 {0 0 0} 0 {0 -0.1666666865 0} 0 {1 1 0} }
- name Card2
- xpos 99
- ypos 267
- }
- push 0
- push 0
- ParticleEmitter {
- inputs 3
- start_frame -10
- rate {{parent.layers}}
- velocity {{-parent.distance}}
- size 1
- name ParticleEmitter1
- xpos 99
- ypos 330
- }
- TransformGeo {
- rotate {90 0 0}
- name TransformGeo1
- xpos 99
- ypos 379
- }
- ApplyMaterial {
- inputs 2
- name ApplyMaterial2
- xpos 99
- ypos 426
- }
- push 0
- add_layer {P P.red P.green P.blue P.alpha}
- ScanlineRender {
- inputs 3
- conservative_shader_sampling false
- ztest_enabled false
- max_tessellation 1
- shutter 0
- motion_vectors_type off
- MB_channel none
- output_shader_vectors true
- P_channel P
- name ScanlineRender2
- xpos 99
- ypos 678
- }
- FrameHold {
- first_frame 1
- name FrameHold1
- xpos 99
- ypos 704
- }
- ReLight {
- inputs 4
- normal N
- position P
- name ReLight1
- xpos 99
- ypos 850
- disable {{!parent.relight}}
- }
- Dot {
- name Dot3
- xpos 133
- ypos 965
- }
- set Nca9e7180 [stack 0]
- Dot {
- name Dot11
- xpos -2
- ypos 965
- }
- set Nca9e6e00 [stack 0]
- Dot {
- name Dot15
- xpos -108
- ypos 965
- }
- Shuffle {
- in P
- name Shuffle3
- label "\[value in]"
- xpos -142
- ypos 1256
- }
- Dot {
- name Dot16
- xpos -108
- ypos 1346
- }
- push $Nca9e6e00
- Shuffle {
- in N
- name Shuffle2
- label "\[value in]"
- xpos -36
- ypos 1257
- }
- Dot {
- name Dot14
- xpos -2
- ypos 1320
- }
- push $Nca955180
- Dot {
- name Dot13
- xpos 412
- ypos -393
- }
- Dot {
- name Dot12
- xpos 412
- ypos 1135
- }
- push $Nca9e7180
- Remove {
- operation keep
- channels rgba
- name Remove1
- xpos 99
- ypos 1105
- }
- Merge2 {
- inputs 2
- name Merge1
- xpos 99
- ypos 1131
- }
- ShuffleCopy {
- inputs 2
- in N
- alpha alpha2
- black red
- white green
- red2 blue
- green2 black
- out2 N
- name ShuffleCopy1
- xpos 99
- ypos 1316
- disable {{!parent.N}}
- }
- ShuffleCopy {
- inputs 2
- in P
- alpha alpha2
- black red
- white green
- red2 blue
- green2 black
- out2 P
- name ShuffleCopy2
- xpos 99
- ypos 1342
- disable {{!parent.P}}
- }
- Output {
- name Output1
- xpos 99
- ypos 1473
- }
- end_group
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement