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

  1. DarkTree ChromeHaloShader
  2.  
  3. Version: 2.00
  4. Modified: 05/03/2001
  5. Author: Darkling Simulations
  6.  
  7. // This shader generates specular and diffuse with a "halo" or 
  8. // secondary ring. Chrome Halo is great for well lit highly 
  9. // reflective chrome surfaces. 
  10.  
  11. Pref_Map: Spherical
  12. Rep_Frame: 1
  13. Type: Shaded
  14. Source: SHADER
  15. Aspect_Width: 10
  16. Aspect_Height: 10
  17. Scale: 1
  18. Unit_Scale: Meters
  19. Heading: 0
  20. Pitch: 0
  21.  
  22. {
  23.     External 1 : Incident Percent
  24.     {
  25.         DarkData: 1, 1, 200
  26.         Transform:
  27.             Trans_0              : 1, 0, 0, 0
  28.             Trans_1              : 0, 1, 0, 0
  29.             Trans_2              : 0, 0, 1, 0
  30.         Common:
  31.             Blend_Function       : 0.5
  32.             Pitch                : 0
  33.             Heading              : 0
  34.         Percent:
  35.             Edge                 : Link_To 3 | Percent
  36.             Facing               : Link_To 4 | Percent
  37.     }
  38.     Gradient 2 : Linear_Gradient Color
  39.     {
  40.         DarkData: 1, 2, 200
  41.         Transform:
  42.             Trans_0              : 1, 0, 0, 0
  43.             Trans_1              : 0, 1, 0, 0
  44.             Trans_2              : 0, 0, 1, 0
  45.         Common:
  46.             Blend_Function       : Link_To 9 | Percent
  47.             Repeat_Flag          : FALSE
  48.         Color:
  49.             Top                  : Link_To 7 | Color
  50.             Bottom               : Link_To 8 | Color
  51.     }
  52.     Process 3 : Composite Percent
  53.     {
  54.         DarkData: 3, 1, 200
  55.         Transform:
  56.             Trans_0              : 1, 0, 0, 0
  57.             Trans_1              : 0, 1, 0, 0
  58.             Trans_2              : 0, 0, 1, 0
  59.         Common:
  60.             Blend_Function       : 0.5
  61.             Mask                 : Link_To 0 | Reflectivity
  62.             Invert               : FALSE
  63.         Percent:
  64.             Percent_A            : 0
  65.             Percent_B            : 1
  66.     }
  67.     Process 4 : Composite Percent
  68.     {
  69.         DarkData: 2, 1, 200
  70.         Transform:
  71.             Trans_0              : 1, 0, 0, 0
  72.             Trans_1              : 0, 1, 0, 0
  73.             Trans_2              : 0, 0, 1, 0
  74.         Common:
  75.             Blend_Function       : 0.5
  76.             Mask                 : Link_To 0 | Reflectivity
  77.             Invert               : FALSE
  78.         Percent:
  79.             Percent_A            : 0
  80.             Percent_B            : 0.1
  81.     }
  82.     Process 5 : Composite Percent
  83.     {
  84.         DarkData: 1, 0, 200
  85.         Transform:
  86.             Trans_0              : 1, 0, 0, 0
  87.             Trans_1              : 0, 1, 0, 0
  88.             Trans_2              : 0, 0, 1, 0
  89.         Common:
  90.             Blend_Function       : 0.5
  91.             Mask                 : Link_To 0 | Halo
  92.             Invert               : TRUE
  93.         Percent:
  94.             Percent_A            : Link_To 10 | Percent
  95.             Percent_B            : Link_To 11 | Percent
  96.     }
  97.     Shader 6 : DarkTree_Shader Color
  98.     {
  99.         DarkData: 0, 0, 200
  100.         Transform:
  101.             Trans_0              : 1, 0, 0, 0
  102.             Trans_1              : 0, 1, 0, 0
  103.             Trans_2              : 0, 0, 1, 0
  104.         Color:
  105.             Light1_Color         : 255, 255, 255
  106.             Light1_Rise          : 0.602
  107.             Light1_Rotate        : 0.85
  108.             Light2_Color         : 255, 255, 255
  109.             Light2_Rise          : 0.29
  110.             Light2_Rotate        : 0.15
  111.             Surface_Color        : Link_To 0 | Surface Color
  112.             Diffuse_Level        : Link_To 0 | Diffuse Level
  113.             Diffuse_Function     : Link_To 5 | Percent
  114.             Luminosity           : Link_To 0 | Self-Illumination
  115.             Specular_Level       : Link_To 0 | Specular Level
  116.             Specular_Function    : Link_To 5 | Percent
  117.             Glossiness           : Link_To 0 | Glossiness
  118.             Metal_Highlight      : Link_To 0 | Metal
  119.             Anisotropy           : 0
  120.             Anisotropic_Direction : 0
  121.             Reflectivity         : Link_To 1 | Percent
  122.             Environment          : Link_To 2 | Color
  123.             Transparency         : 0
  124.             Refraction           : 1.5
  125.             Clear_Coat_Level     : 0
  126.             Clear_Coat_Glossiness : 0.4
  127.             Clear_Coat_Thickness : 0
  128.             Clear_Coat_Smoothing : 0
  129.             Surface_Bump         : 0
  130.             Alpha                : 1
  131.     }
  132.     Natural 7 : Clouds Color
  133.     {
  134.         DarkData: 2, 2, 200
  135.         Transform:
  136.             Trans_0              : 2.43902, 0, 0, 0
  137.             Trans_1              : 0, 2.43902, 0, 0
  138.             Trans_2              : 0, 0, 2.43902, 0
  139.         Common:
  140.             Roughness            : 0.5
  141.             Lacunarity           : 0.5
  142.             Lacunarity_Lock      : TRUE
  143.             Density              : 6
  144.             Puff_Size            : 0.4
  145.             Strata_Function      : 0
  146.             Blend_Function       : 0
  147.             Brightness           : 0.5
  148.             Contrast             : 0.5
  149.             Input_Seed           : 3
  150.         Color:
  151.             Background           : 0, 40, 120
  152.             Puff                 : 255, 255, 255
  153.     }
  154.     Noise 8 : Rough Color
  155.     {
  156.         DarkData: 2, 3, 200
  157.         Transform:
  158.             Trans_0              : 4, 0, 0, 0
  159.             Trans_1              : 0, 4, 0, 0
  160.             Trans_2              : 0, 0, 4, 0
  161.         Common:
  162.             Lacunarity           : 0.6
  163.             Lacunarity_Lock      : TRUE
  164.             Roughness            : 0.441
  165.             Strata_Function      : 0
  166.             Blend_Function       : 0
  167.             Brightness           : 0.5
  168.             Contrast             : 0
  169.             Input_Seed           : 1
  170.         Color:
  171.             Low                  : 126, 126, 126
  172.             High                 : 0, 0, 0
  173.     }
  174.     Generator 9 : S_Curve Function
  175.     {
  176.         DarkData: 3, 2, 200
  177.         Common:
  178.             Input                : 0
  179.             Frequency            : 2
  180.             Amplitude            : 0.5
  181.             Phase_Amount         : 0.5
  182.             Phase_Min            : 0
  183.             Phase_Max            : 1
  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.     }
  192.     Generator 10 : Spline Function
  193.     {
  194.         DarkData: 2, -1, 200
  195.         Common:
  196.             Input                : 0
  197.             Frequency            : 1
  198.             Amplitude            : 1
  199.             Phase_Amount         : 0
  200.             Phase_Min            : 0
  201.             Phase_Max            : 1
  202.             Shift                : 0
  203.             Upper_Clamp          : 1
  204.             Lower_Clamp          : 0
  205.             Invert               : FALSE
  206.             Reverse              : FALSE
  207.         Generator:
  208.             B-Spline             : HOLD
  209.             B-Spline-NP          : 10
  210.             B-Spline-P           : 0, 0, FALSE, FALSE
  211.             B-Spline-P           : 0.356098, 0.166667, FALSE, FALSE
  212.             B-Spline-P           : 0.474797, 0.310185, FALSE, FALSE
  213.             B-Spline-P           : 0.560976, 0.560185, FALSE, FALSE
  214.             B-Spline-P           : 0.650406, 0.842593, FALSE, FALSE
  215.             B-Spline-P           : 0.743089, 0.671296, FALSE, FALSE
  216.             B-Spline-P           : 0.830894, 0.541667, FALSE, FALSE
  217.             B-Spline-P           : 0.910569, 0.611111, FALSE, FALSE
  218.             B-Spline-P           : 0.964228, 0.805556, FALSE, FALSE
  219.             B-Spline-P           : 1, 0.990741, FALSE, FALSE
  220.     }
  221.     Generator 11 : Linear Function
  222.     {
  223.         DarkData: 2, 0, 200
  224.         Common:
  225.             Input                : 0
  226.             Frequency            : 1
  227.             Amplitude            : 0.5
  228.             Phase_Amount         : 0
  229.             Phase_Min            : 0
  230.             Phase_Max            : 1
  231.             Shift                : 0.5
  232.             Upper_Clamp          : 1
  233.             Lower_Clamp          : 0
  234.             Invert               : FALSE
  235.             Reverse              : FALSE
  236.         Generator:
  237.             Repeat_Flag          : FALSE
  238.     }
  239. }
  240.  
  241. Trigger_Bank: 1, 1
  242.  
  243. Tweaker
  244. {
  245.     Tweak                : IF_COLOR
  246.     Tweak                : Surface Color
  247.     Tweak                : 63, 146, 237
  248.     Tweak                : IF_PERCENT
  249.     Tweak                : Halo
  250.     Tweak                : 0.5
  251.     Tweak                : IF_PERCENT
  252.     Tweak                : Diffuse Level
  253.     Tweak                : 1
  254.     Tweak                : IF_PERCENT
  255.     Tweak                : Specular Level
  256.     Tweak                : 0.5
  257.     Tweak                : IF_PERCENT
  258.     Tweak                : Glossiness
  259.     Tweak                : 0.06
  260.     Tweak                : IF_PERCENT
  261.     Tweak                : Metal
  262.     Tweak                : 0
  263.     Tweak                : IF_PERCENT
  264.     Tweak                : Reflectivity
  265.     Tweak                : 0.4
  266.     Tweak                : IF_PERCENT
  267.     Tweak                : Self-Illumination
  268.     Tweak                : 0
  269. }
  270.