home *** CD-ROM | disk | FTP | other *** search
/ PC Pro 2005 June (DVD) / DPPRO0605DVD.iso / Editorial / DarkTree / DarkTree251Demo.EXE / SKETCHSHADER.DSTS < prev    next >
Encoding:
Text File  |  2002-02-28  |  8.8 KB  |  266 lines

  1. DarkTree Sketch Shader
  2.  
  3. Version: 2.00
  4. Modified: 05/07/2001
  5. Author: Skyler Swanson
  6.  
  7. // This shader generates sketch / drawing look by shading the 
  8. // surface as cross hatched lines. 
  9.  
  10. Pref_Map: Spherical
  11. Rep_Frame: 1
  12. Type: Shaded
  13. Source: SHADER
  14. Aspect_Width: 10
  15. Aspect_Height: 10
  16. Scale: 1
  17. Unit_Scale: Meters
  18. Heading: 0
  19. Pitch: 0
  20.  
  21. {
  22.     Natural 1 : Birdshot Percent
  23.     {
  24.         DarkData: 4, 0, 200
  25.         Transform:
  26.             Trans_0              : -32.3768, 32.3768, 0, 55.0405
  27.             Trans_1              : -0.682592, -0.682592, 0, 1.16041
  28.             Trans_2              : 0, 0, 45.7876, 0
  29.         Common:
  30.             Shot_Size            : 0.3
  31.             Density              : Link_To 11 | Percent
  32.             Blend_Function       : 0
  33.             Input_Seed           : Link_To 0 | Random Seed
  34.             Width                : 1
  35.             Height               : 1
  36.             Sampling_Options     : NONE
  37.             Mapping_Type         : PLANAR_2D
  38.         Percent:
  39.             Background           : Link_To 6 | Percent
  40.             Shots                : 1
  41.     }
  42.     External 2 : Incident Percent
  43.     {
  44.         DarkData: 8, 0, 200
  45.         Transform:
  46.             Trans_0              : 1.22103, -1.46598, 0, 0
  47.             Trans_1              : 1.0796, 1.32455, 0, 0
  48.             Trans_2              : 0, 0, 1.60001, 0
  49.         Common:
  50.             Blend_Function       : 0.5
  51.             Pitch                : 0
  52.             Heading              : 0
  53.         Percent:
  54.             Edge                 : 1
  55.             Facing               : 0
  56.     }
  57.     Natural 3 : Birdshot Percent
  58.     {
  59.         DarkData: 6, 0, 200
  60.         Transform:
  61.             Trans_0              : -0.5, 32.8619, 0, 20.6089
  62.             Trans_1              : -0.0228228, -0.5, 0, -2.37415
  63.             Trans_2              : 0, 0, 1, 0
  64.         Common:
  65.             Shot_Size            : 0.3
  66.             Density              : Link_To 11 | Percent
  67.             Blend_Function       : 0
  68.             Input_Seed           : Link_To 0 | Random Seed
  69.             Width                : 1
  70.             Height               : 1
  71.             Sampling_Options     : NONE
  72.             Mapping_Type         : PLANAR_2D
  73.         Percent:
  74.             Background           : 0
  75.             Shots                : 1
  76.     }
  77.     Shader 4 : DarkTree_Shader Color
  78.     {
  79.         DarkData: 0, 0, 200
  80.         Transform:
  81.             Trans_0              : 1, 0, 0, 0
  82.             Trans_1              : 0, 1, 0, 0
  83.             Trans_2              : 0, 0, 1, 0
  84.         Color:
  85.             Light1_Color         : 255, 255, 255
  86.             Light1_Rise          : 0.362
  87.             Light1_Rotate        : 0.85
  88.             Light2_Color         : 0, 0, 0
  89.             Light2_Rise          : 0.03
  90.             Light2_Rotate        : 0.15
  91.             Surface_Color        : Link_To 7 | Color
  92.             Diffuse_Level        : 0
  93.             Diffuse_Function     : 0.5
  94.             Luminosity           : 1
  95.             Specular_Level       : Link_To 0 | Specular Level
  96.             Specular_Function    : Link_To 12 | Percent
  97.             Glossiness           : 0.548
  98.             Metal_Highlight      : 0
  99.             Anisotropy           : 0
  100.             Anisotropic_Direction : 0
  101.             Reflectivity         : 0
  102.             Environment          : 180, 180, 240
  103.             Transparency         : 0
  104.             Refraction           : 1
  105.             Clear_Coat_Level     : 0
  106.             Clear_Coat_Glossiness : 0
  107.             Clear_Coat_Thickness : 0
  108.             Clear_Coat_Smoothing : 0
  109.             Surface_Bump         : 0
  110.             Alpha                : 1
  111.     }
  112.     External 5 : Poster_Board Percent
  113.     {
  114.         DarkData: 3, 0, 200
  115.         Transform:
  116.             Trans_0              : 0.565681, 0.707105, 0, 0
  117.             Trans_1              : -0.565681, 0.707105, 0, 0
  118.             Trans_2              : 0, 0, 0.800002, 0
  119.         Common:
  120.             2D_Pattern           : FALSE
  121.         Percent:
  122.             Background           : Link_To 1 | Percent
  123.     }
  124.     Natural 6 : Birdshot Percent
  125.     {
  126.         DarkData: 5, 0, 200
  127.         Transform:
  128.             Trans_0              : -0.399999, 32.8618, 0, 0
  129.             Trans_1              : -0.0182581, -0.499999, 0, 0
  130.             Trans_2              : 0, 0, 0.800001, 0
  131.         Common:
  132.             Shot_Size            : 0.3
  133.             Density              : Link_To 11 | Percent
  134.             Blend_Function       : 0
  135.             Input_Seed           : Link_To 0 | Random Seed
  136.             Width                : 1
  137.             Height               : 1
  138.             Sampling_Options     : NONE
  139.             Mapping_Type         : PLANAR_2D
  140.         Percent:
  141.             Background           : Link_To 3 | Percent
  142.             Shots                : 1
  143.     }
  144.     Process 7 : Composite Color
  145.     {
  146.         DarkData: 1, 0, 200
  147.         Transform:
  148.             Trans_0              : 1, 0, 0, 0
  149.             Trans_1              : 0, 1, 0, 0
  150.             Trans_2              : 0, 0, 1, 0
  151.         Common:
  152.             Blend_Function       : 0.5
  153.             Mask                 : Link_To 8 | Percent
  154.             Invert               : FALSE
  155.         Color:
  156.             Color_A              : Link_To 0 | Surface Color
  157.             Color_B              : Link_To 10 | Color
  158.     }
  159.     External 8 : Incident Percent
  160.     {
  161.         DarkData: 2, 0, 200
  162.         Transform:
  163.             Trans_0              : 0.88389, -0.883891, 0, 0
  164.             Trans_1              : 0.707109, 0.707108, 0, 0
  165.             Trans_2              : 0, 0, 1.25, 0
  166.         Common:
  167.             Blend_Function       : Link_To 9 | Percent
  168.             Pitch                : 0
  169.             Heading              : 0
  170.         Percent:
  171.             Edge                 : 1
  172.             Facing               : Link_To 5 | Percent
  173.     }
  174.     Generator 9 : Bias Function
  175.     {
  176.         DarkData: 3, -1, 200
  177.         Common:
  178.             Input                : 0
  179.             Frequency            : 1.33
  180.             Amplitude            : 0.5
  181.             Phase_Amount         : 0.25
  182.             Phase_Min            : 0.17
  183.             Phase_Max            : 0.8
  184.             Shift                : 0.5
  185.             Upper_Clamp          : 1
  186.             Lower_Clamp          : 0
  187.             Invert               : FALSE
  188.             Reverse              : FALSE
  189.         Generator:
  190.             Repeat_Flag          : FALSE
  191.             Bias                 : 0.823
  192.     }
  193.     External 10 : Incident Color
  194.     {
  195.         DarkData: 2, 1, 200
  196.         Transform:
  197.             Trans_0              : 1.76778, -1.76778, 0, 0
  198.             Trans_1              : 1.41422, 1.41421, 0, 0
  199.             Trans_2              : 0, 0, 2.5, 0
  200.         Common:
  201.             Blend_Function       : 0.5
  202.             Pitch                : 0
  203.             Heading              : 0
  204.         Color:
  205.             Edge                 : Link_To 0 | Edge Ink
  206.             Facing               : Link_To 0 | Facing Ink
  207.     }
  208.     Process 11 : Add Percent
  209.     {
  210.         DarkData: 7, 0, 200
  211.         Transform:
  212.             Trans_0              : 0.0263698, -0.268116, 0, 0
  213.             Trans_1              : 0.00706575, 1.00062, 0, 0
  214.             Trans_2              : 0, 0, 0.0272999, 0
  215.         Common:
  216.         Percent:
  217.             Percent_A            : Link_To 2 | Percent
  218.             Percent_B            : Link_To 0 | Darken
  219.     }
  220.     Generator 12 : S_Curve Function
  221.     {
  222.         DarkData: 1, 1, 200
  223.         Common:
  224.             Input                : 0
  225.             Frequency            : 3
  226.             Amplitude            : 0.5
  227.             Phase_Amount         : Link_To 0 | Glossiness
  228.             Phase_Min            : 1.64
  229.             Phase_Max            : 2.1
  230.             Shift                : 0.5
  231.             Upper_Clamp          : 1
  232.             Lower_Clamp          : 0
  233.             Invert               : FALSE
  234.             Reverse              : FALSE
  235.         Generator:
  236.             Repeat_Flag          : FALSE
  237.     }
  238. }
  239.  
  240. Trigger_Bank: 1, 1
  241.  
  242. Tweaker
  243. {
  244.     Tweak                : IF_COLOR
  245.     Tweak                : Surface Color
  246.     Tweak                : 255, 255, 255
  247.     Tweak                : IF_COLOR
  248.     Tweak                : Facing Ink
  249.     Tweak                : 54, 54, 54
  250.     Tweak                : IF_COLOR
  251.     Tweak                : Edge Ink
  252.     Tweak                : 0, 0, 0
  253.     Tweak                : IF_PERCENT
  254.     Tweak                : Darken
  255.     Tweak                : 0
  256.     Tweak                : IF_PERCENT
  257.     Tweak                : Specular Level
  258.     Tweak                : 0.2
  259.     Tweak                : IF_PERCENT
  260.     Tweak                : Glossiness
  261.     Tweak                : 0.45
  262.     Tweak                : IF_INT
  263.     Tweak                : Random Seed
  264.     Tweak                : 2
  265. }
  266.