home *** CD-ROM | disk | FTP | other *** search
/ PC Pro 2005 June / DPPCPRO0605A.ISO / Editorial / DarkTree / textures / shaders / BandedShader.dsts next >
Encoding:
Text File  |  2002-02-28  |  8.5 KB  |  261 lines

  1. DarkTree Banded Shader
  2.  
  3. Version: 2.00
  4. Modified: 05/01/2001
  5. Author: Darkling Simulations
  6.  
  7. // The Banded Shader shades the surface as a series of bands like 
  8. // in a cartoon. 
  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.     Process 1 : Composite Percent
  23.     {
  24.         DarkData: 4, 1, 200
  25.         Transform:
  26.             Trans_0              : 1, 0, 0, 0
  27.             Trans_1              : 0, 1, 0, 0
  28.             Trans_2              : 0, 0, 1, 0
  29.         Common:
  30.             Blend_Function       : 0.5
  31.             Mask                 : Link_To 0 | Band Noise
  32.             Invert               : FALSE
  33.         Percent:
  34.             Percent_A            : 0.5
  35.             Percent_B            : 1
  36.     }
  37.     Process 2 : Invert Percent
  38.     {
  39.         DarkData: 3, 1, 200
  40.         Transform:
  41.             Trans_0              : 0.589998, 0, 0, 0
  42.             Trans_1              : 0, 0.589998, 0, 0
  43.             Trans_2              : 0, 0, 0.589998, 0
  44.         Common:
  45.             Invert               : FALSE
  46.             Mask                 : 1
  47.         Percent:
  48.             Background           : Link_To 1 | Percent
  49.     }
  50.     Process 3 : Composite Percent
  51.     {
  52.         DarkData: 3, -2, 200
  53.         Transform:
  54.             Trans_0              : 0.999999, 0, 0, 0
  55.             Trans_1              : 0, 0.999999, 0, 0
  56.             Trans_2              : 0, 0, 0.999999, 0
  57.         Common:
  58.             Blend_Function       : 0.5
  59.             Mask                 : Link_To 0 | Edge Darkness
  60.             Invert               : FALSE
  61.         Percent:
  62.             Percent_A            : 1
  63.             Percent_B            : 0
  64.     }
  65.     Shader 4 : DarkTree_Shader Color
  66.     {
  67.         DarkData: 0, 0, 200
  68.         Transform:
  69.             Trans_0              : 1, 0, 0, 0
  70.             Trans_1              : 0, 1, 0, 0
  71.             Trans_2              : 0, 0, 1, 0
  72.         Color:
  73.             Light1_Color         : 255, 255, 255
  74.             Light1_Rise          : 0.389
  75.             Light1_Rotate        : 0.85
  76.             Light2_Color         : 0, 0, 0
  77.             Light2_Rise          : 0.03
  78.             Light2_Rotate        : 0.273
  79.             Surface_Color        : Link_To 10 | Color
  80.             Diffuse_Level        : Link_To 0 | Band Brightness
  81.             Diffuse_Function     : Link_To 7 | Percent
  82.             Luminosity           : Link_To 0 | Self-Illumination
  83.             Specular_Level       : Link_To 0 | Specular Level
  84.             Specular_Function    : Link_To 8 | Percent
  85.             Glossiness           : Link_To 0 | Glossiness
  86.             Metal_Highlight      : 0
  87.             Anisotropy           : 0
  88.             Anisotropic_Direction : 0
  89.             Reflectivity         : 0
  90.             Environment          : 180, 180, 240
  91.             Transparency         : 0
  92.             Refraction           : 1.5
  93.             Clear_Coat_Level     : 0
  94.             Clear_Coat_Glossiness : 0.4
  95.             Clear_Coat_Thickness : 0
  96.             Clear_Coat_Smoothing : 0
  97.             Surface_Bump         : 0
  98.             Alpha                : 1
  99.     }
  100.     Generator 5 : Bias Function
  101.     {
  102.         DarkData: 3, -1, 200
  103.         Common:
  104.             Input                : 0
  105.             Frequency            : 1.33
  106.             Amplitude            : 0.5
  107.             Phase_Amount         : Link_To 0 | Edge Width
  108.             Phase_Min            : 0.17
  109.             Phase_Max            : 0.5
  110.             Shift                : 0.5
  111.             Upper_Clamp          : 1
  112.             Lower_Clamp          : 0
  113.             Invert               : FALSE
  114.             Reverse              : FALSE
  115.         Generator:
  116.             Repeat_Flag          : FALSE
  117.             Bias                 : 0.9
  118.     }
  119.     Generator 6 : Bias Function
  120.     {
  121.         DarkData: 2, 0, 200
  122.         Common:
  123.             Input                : 0
  124.             Frequency            : 1
  125.             Amplitude            : 0.5
  126.             Phase_Amount         : 0
  127.             Phase_Min            : 0
  128.             Phase_Max            : 1
  129.             Shift                : 0.5
  130.             Upper_Clamp          : 1
  131.             Lower_Clamp          : 0
  132.             Invert               : FALSE
  133.             Reverse              : FALSE
  134.         Generator:
  135.             Repeat_Flag          : FALSE
  136.             Bias                 : Link_To 0 | Band Bias
  137.     }
  138.     Generator 7 : Stair_Step Function
  139.     {
  140.         DarkData: 1, 0, 200
  141.         Common:
  142.             Input                : Link_To 6 | Percent
  143.             Frequency            : 1
  144.             Amplitude            : 0.5
  145.             Phase_Amount         : Link_To 9 | Percent
  146.             Phase_Min            : -0.12
  147.             Phase_Max            : 0.13
  148.             Shift                : 0.5
  149.             Upper_Clamp          : 1
  150.             Lower_Clamp          : 0
  151.             Invert               : FALSE
  152.             Reverse              : FALSE
  153.         Generator:
  154.             Repeat_Flag          : FALSE
  155.             Number_Of_Steps      : Link_To 0 | Band Number
  156.             Slant                : 0.162
  157.     }
  158.     Generator 8 : S_Curve Function
  159.     {
  160.         DarkData: 1, 1, 200
  161.         Common:
  162.             Input                : 0
  163.             Frequency            : 3.51
  164.             Amplitude            : 0.5
  165.             Phase_Amount         : Link_To 9 | Percent
  166.             Phase_Min            : 2
  167.             Phase_Max            : 3
  168.             Shift                : 0.5
  169.             Upper_Clamp          : 1
  170.             Lower_Clamp          : 0
  171.             Invert               : FALSE
  172.             Reverse              : FALSE
  173.         Generator:
  174.             Repeat_Flag          : FALSE
  175.     }
  176.     Noise 9 : Fractal Percent
  177.     {
  178.         DarkData: 2, 1, 200
  179.         Transform:
  180.             Trans_0              : 1.69492, 0, 0, 0
  181.             Trans_1              : 0, 1.69492, 0, 0
  182.             Trans_2              : 0, 0, 1.69492, 0
  183.         Common:
  184.             Roughness            : 0.8
  185.             Lacunarity           : 0.5
  186.             Lacunarity_Lock      : TRUE
  187.             Strata_Function      : 0
  188.             Blend_Function       : 0
  189.             Brightness           : 0.5
  190.             Contrast             : 0.7
  191.             Input_Seed           : 1
  192.         Percent:
  193.             Low                  : Link_To 2 | Percent
  194.             High                 : Link_To 1 | Percent
  195.     }
  196.     Process 10 : Darken Color
  197.     {
  198.         DarkData: 1, -1, 200
  199.         Transform:
  200.             Trans_0              : 1, 0, 0, 0
  201.             Trans_1              : 0, 1, 0, 0
  202.             Trans_2              : 0, 0, 1, 0
  203.         Common:
  204.             Invert               : FALSE
  205.             Mask                 : Link_To 11 | Percent
  206.         Color:
  207.             Background           : Link_To 0 | Surface Color
  208.     }
  209.     External 11 : Incident Percent
  210.     {
  211.         DarkData: 2, -1, 200
  212.         Transform:
  213.             Trans_0              : 1, 0, 0, 0
  214.             Trans_1              : 0, 1, 0, 0
  215.             Trans_2              : 0, 0, 1, 0
  216.         Common:
  217.             Blend_Function       : Link_To 5 | Percent
  218.             Pitch                : 0
  219.             Heading              : 0
  220.         Percent:
  221.             Edge                 : Link_To 3 | Percent
  222.             Facing               : 1
  223.     }
  224. }
  225.  
  226. Trigger_Bank: 1, 1
  227.  
  228. Tweaker
  229. {
  230.     Tweak                : IF_COLOR
  231.     Tweak                : Surface Color
  232.     Tweak                : 63, 146, 237
  233.     Tweak                : IF_PERCENT
  234.     Tweak                : Band Bias
  235.     Tweak                : 0.75
  236.     Tweak                : IF_PERCENT
  237.     Tweak                : Band Noise
  238.     Tweak                : 1
  239.     Tweak                : IF_INT
  240.     Tweak                : Band Number
  241.     Tweak                : 4
  242.     Tweak                : IF_PERCENT
  243.     Tweak                : Band Brightness
  244.     Tweak                : 0.8
  245.     Tweak                : IF_PERCENT
  246.     Tweak                : Edge Width
  247.     Tweak                : 0.2
  248.     Tweak                : IF_PERCENT
  249.     Tweak                : Edge Darkness
  250.     Tweak                : 0.8
  251.     Tweak                : IF_PERCENT
  252.     Tweak                : Specular Level
  253.     Tweak                : 0.255
  254.     Tweak                : IF_PERCENT
  255.     Tweak                : Glossiness
  256.     Tweak                : 0.92
  257.     Tweak                : IF_PERCENT
  258.     Tweak                : Self-Illumination
  259.     Tweak                : 0.4
  260. }
  261.