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

  1. DarkTree Dust Shader
  2.  
  3. Version: 2.00
  4. Modified: 04/30/2001
  5. Author: Darkling Simulations
  6.  
  7. // The Dust Shader gives you a simple shader that automatically 
  8. // dusts the top of an object. This shader must be aligned with 
  9. // your object so the dust apears on top. 
  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.     Process 1 : Composite Percent
  24.     {
  25.         DarkData: 1, -3, 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.             Mask                 : Link_To 17 | Percent
  33.             Invert               : FALSE
  34.         Percent:
  35.             Percent_A            : Link_To 0 | Self-Illumination
  36.             Percent_B            : 0
  37.     }
  38.     Shader 2 : DarkTree_Shader Color
  39.     {
  40.         DarkData: 0, 0, 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.         Color:
  46.             Light1_Color         : 255, 255, 255
  47.             Light1_Rise          : 0.655
  48.             Light1_Rotate        : 0.79
  49.             Light2_Color         : 255, 255, 255
  50.             Light2_Rise          : 0
  51.             Light2_Rotate        : 0.102
  52.             Surface_Color        : Link_To 4 | Color
  53.             Diffuse_Level        : Link_To 0 | Diffuse Level
  54.             Diffuse_Function     : 0.5
  55.             Luminosity           : Link_To 1 | Percent
  56.             Specular_Level       : Link_To 5 | Percent
  57.             Specular_Function    : 0.5
  58.             Glossiness           : Link_To 0 | Glossiness
  59.             Metal_Highlight      : Link_To 0 | Metal
  60.             Anisotropy           : 0
  61.             Anisotropic_Direction : 0
  62.             Reflectivity         : Link_To 16 | Percent
  63.             Environment          : 180, 180, 240
  64.             Transparency         : Link_To 15 | Percent
  65.             Refraction           : Link_To 0 | Index Of Refraction
  66.             Clear_Coat_Level     : 0
  67.             Clear_Coat_Glossiness : 0.4
  68.             Clear_Coat_Thickness : 0
  69.             Clear_Coat_Smoothing : 0
  70.             Surface_Bump         : 0
  71.             Alpha                : 1
  72.     }
  73.     External 3 : Surface_Up Percent
  74.     {
  75.         DarkData: 3, 0, 200
  76.         Transform:
  77.             Trans_0              : 1, 0, 0, 0
  78.             Trans_1              : 0, 1, 0, 0
  79.             Trans_2              : 0, 0, 1, 0
  80.         Common:
  81.             Blend_Function       : Link_To 8 | Percent
  82.             Pitch                : 0
  83.             Heading              : 0
  84.         Percent:
  85.             Up                   : Link_To 7 | Percent
  86.             Down                 : 0
  87.     }
  88.     Process 4 : Composite Color
  89.     {
  90.         DarkData: 1, 0, 200
  91.         Transform:
  92.             Trans_0              : 1, 0, 0, 0
  93.             Trans_1              : 0, 1, 0, 0
  94.             Trans_2              : 0, 0, 1, 0
  95.         Common:
  96.             Blend_Function       : 0.5
  97.             Mask                 : Link_To 17 | Percent
  98.             Invert               : FALSE
  99.         Color:
  100.             Color_A              : Link_To 0 | Surface Color
  101.             Color_B              : Link_To 0 | Dust Color
  102.     }
  103.     Process 5 : Composite Percent
  104.     {
  105.         DarkData: 1, 1, 200
  106.         Transform:
  107.             Trans_0              : 1, 0, 0, 0
  108.             Trans_1              : 0, 1, 0, 0
  109.             Trans_2              : 0, 0, 1, 0
  110.         Common:
  111.             Blend_Function       : 0.5
  112.             Mask                 : Link_To 6 | Percent
  113.             Invert               : FALSE
  114.         Percent:
  115.             Percent_A            : Link_To 0 | Specular Level
  116.             Percent_B            : 0
  117.     }
  118.     External 6 : Surface_Up Percent
  119.     {
  120.         DarkData: 2, 1, 200
  121.         Transform:
  122.             Trans_0              : 1, 0, 0, 0
  123.             Trans_1              : 0, 1, 0, 0
  124.             Trans_2              : 0, 0, 1, 0
  125.         Common:
  126.             Blend_Function       : Link_To 11 | Percent
  127.             Pitch                : 0
  128.             Heading              : 0
  129.         Percent:
  130.             Up                   : 1
  131.             Down                 : 0
  132.     }
  133.     Noise 7 : Fractal Percent
  134.     {
  135.         DarkData: 5, -1, 200
  136.         Transform:
  137.             Trans_0              : 1, 0, 0, 0
  138.             Trans_1              : 0, 1, 0, 0
  139.             Trans_2              : 0, 0, 1, 0
  140.         Common:
  141.             Roughness            : 0.8
  142.             Lacunarity           : 0.7
  143.             Lacunarity_Lock      : TRUE
  144.             Strata_Function      : 0
  145.             Blend_Function       : Link_To 14 | Percent
  146.             Brightness           : 0.509
  147.             Contrast             : 0.5
  148.             Input_Seed           : 172
  149.         Percent:
  150.             Low                  : 0.3
  151.             High                 : 1
  152.     }
  153.     Generator 8 : S_Curve Function
  154.     {
  155.         DarkData: 4, 0, 200
  156.         Common:
  157.             Input                : Link_To 9 | Percent
  158.             Frequency            : 1
  159.             Amplitude            : 0.5
  160.             Phase_Amount         : 0
  161.             Phase_Min            : 0
  162.             Phase_Max            : 1
  163.             Shift                : 0.5
  164.             Upper_Clamp          : 1
  165.             Lower_Clamp          : 0
  166.             Invert               : FALSE
  167.             Reverse              : FALSE
  168.         Generator:
  169.             Repeat_Flag          : FALSE
  170.     }
  171.     Generator 9 : Bias Function
  172.     {
  173.         DarkData: 5, 0, 200
  174.         Common:
  175.             Input                : 0
  176.             Frequency            : 1
  177.             Amplitude            : 0.5
  178.             Phase_Amount         : 0
  179.             Phase_Min            : 0
  180.             Phase_Max            : 1
  181.             Shift                : 0.5
  182.             Upper_Clamp          : 1
  183.             Lower_Clamp          : 0
  184.             Invert               : FALSE
  185.             Reverse              : FALSE
  186.         Generator:
  187.             Repeat_Flag          : FALSE
  188.             Bias                 : Link_To 10 | Percent
  189.     }
  190.     Process 10 : Composite Percent
  191.     {
  192.         DarkData: 6, 0, 200
  193.         Transform:
  194.             Trans_0              : 1, 0, 0, 0
  195.             Trans_1              : 0, 1, 0, 0
  196.             Trans_2              : 0, 0, 1, 0
  197.         Common:
  198.             Blend_Function       : 0.5
  199.             Mask                 : Link_To 0 | Dust Edge
  200.             Invert               : FALSE
  201.         Percent:
  202.             Percent_A            : 0
  203.             Percent_B            : 0.6
  204.     }
  205.     Generator 11 : S_Curve Function
  206.     {
  207.         DarkData: 3, 1, 200
  208.         Common:
  209.             Input                : Link_To 12 | Percent
  210.             Frequency            : 1
  211.             Amplitude            : 0.5
  212.             Phase_Amount         : 0
  213.             Phase_Min            : 0
  214.             Phase_Max            : 1
  215.             Shift                : 0.5
  216.             Upper_Clamp          : 1
  217.             Lower_Clamp          : 0
  218.             Invert               : FALSE
  219.             Reverse              : FALSE
  220.         Generator:
  221.             Repeat_Flag          : FALSE
  222.     }
  223.     Generator 12 : Bias Function
  224.     {
  225.         DarkData: 4, 1, 200
  226.         Common:
  227.             Input                : 0
  228.             Frequency            : 1
  229.             Amplitude            : 0.5
  230.             Phase_Amount         : 0
  231.             Phase_Min            : 0
  232.             Phase_Max            : 1
  233.             Shift                : 0.5
  234.             Upper_Clamp          : 1
  235.             Lower_Clamp          : 0
  236.             Invert               : FALSE
  237.             Reverse              : FALSE
  238.         Generator:
  239.             Repeat_Flag          : FALSE
  240.             Bias                 : Link_To 13 | Percent
  241.     }
  242.     Process 13 : Composite Percent
  243.     {
  244.         DarkData: 5, 1, 200
  245.         Transform:
  246.             Trans_0              : 1, 0, 0, 0
  247.             Trans_1              : 0, 1, 0, 0
  248.             Trans_2              : 0, 0, 1, 0
  249.         Common:
  250.             Blend_Function       : 0.5
  251.             Mask                 : Link_To 0 | Dust Edge
  252.             Invert               : FALSE
  253.         Percent:
  254.             Percent_A            : 0.2
  255.             Percent_B            : 0.8
  256.     }
  257.     Generator 14 : S_Curve Function
  258.     {
  259.         DarkData: 6, -1, 200
  260.         Common:
  261.             Input                : 0
  262.             Frequency            : 1
  263.             Amplitude            : Link_To 0 | Dust Noise
  264.             Phase_Amount         : 0
  265.             Phase_Min            : 0
  266.             Phase_Max            : 1
  267.             Shift                : Link_To 0 | Dust Thickness
  268.             Upper_Clamp          : 1
  269.             Lower_Clamp          : 0
  270.             Invert               : FALSE
  271.             Reverse              : FALSE
  272.         Generator:
  273.             Repeat_Flag          : FALSE
  274.     }
  275.     Process 15 : Composite Percent
  276.     {
  277.         DarkData: 1, -1, 200
  278.         Transform:
  279.             Trans_0              : 1, 0, 0, 0
  280.             Trans_1              : 0, 1, 0, 0
  281.             Trans_2              : 0, 0, 1, 0
  282.         Common:
  283.             Blend_Function       : 0.5
  284.             Mask                 : Link_To 17 | Percent
  285.             Invert               : FALSE
  286.         Percent:
  287.             Percent_A            : Link_To 0 | Transparency
  288.             Percent_B            : 0
  289.     }
  290.     Process 16 : Composite Percent
  291.     {
  292.         DarkData: 1, -2, 200
  293.         Transform:
  294.             Trans_0              : 1, 0, 0, 0
  295.             Trans_1              : 0, 1, 0, 0
  296.             Trans_2              : 0, 0, 1, 0
  297.         Common:
  298.             Blend_Function       : 0.5
  299.             Mask                 : Link_To 17 | Percent
  300.             Invert               : FALSE
  301.         Percent:
  302.             Percent_A            : Link_To 0 | Reflectivity
  303.             Percent_B            : 0
  304.     }
  305.     External 17 : Cache Percent
  306.     {
  307.         DarkData: 2, 0, 200
  308.         Transform:
  309.             Trans_0              : 1, 0, 0, 0
  310.             Trans_1              : 0, 1, 0, 0
  311.             Trans_2              : 0, 0, 1, 0
  312.         Common:
  313.         Percent:
  314.             Background           : Link_To 3 | Percent
  315.     }
  316. }
  317.  
  318. Trigger_Bank: 1, 1
  319.  
  320. Tweaker
  321. {
  322.     Tweak                : IF_COLOR
  323.     Tweak                : Surface Color
  324.     Tweak                : 63, 146, 237
  325.     Tweak                : IF_COLOR
  326.     Tweak                : Dust Color
  327.     Tweak                : 203, 194, 194
  328.     Tweak                : IF_PERCENT
  329.     Tweak                : Dust Edge
  330.     Tweak                : 0.5
  331.     Tweak                : IF_PERCENT
  332.     Tweak                : Dust Thickness
  333.     Tweak                : 0.5
  334.     Tweak                : IF_PERCENT
  335.     Tweak                : Dust Noise
  336.     Tweak                : 0.5
  337.     Tweak                : IF_PERCENT
  338.     Tweak                : Diffuse Level
  339.     Tweak                : 1
  340.     Tweak                : IF_PERCENT
  341.     Tweak                : Specular Level
  342.     Tweak                : 0.05
  343.     Tweak                : IF_PERCENT
  344.     Tweak                : Glossiness
  345.     Tweak                : 0.2
  346.     Tweak                : IF_PERCENT
  347.     Tweak                : Metal
  348.     Tweak                : 0
  349.     Tweak                : IF_PERCENT
  350.     Tweak                : Reflectivity
  351.     Tweak                : 0
  352.     Tweak                : IF_PERCENT
  353.     Tweak                : Transparency
  354.     Tweak                : 0
  355.     Tweak                : IF_BUMP
  356.     Tweak                : Index Of Refraction
  357.     Tweak                : 1.5
  358.     Tweak                : IF_PERCENT
  359.     Tweak                : Self-Illumination
  360.     Tweak                : 0
  361. }
  362.