!I integrate from //ce/main...
[CRYENGINE.git] / Engine / Shaders / Glass.ext
blobbd28ebe29290baa836e46f8a806ad2eca6894b4d
1 ////////////////////////////////////////////////////////////////////////////
2 //
3 //  Crytek Engine Source File.
4 //  Shader extension
5 //  Copyright (C), Crytek Studios, 2001-2011.
6 // -------------------------------------------------------------------------
7 //  File name:   Glass.ext
8 //  Version:     v2.00
9 //  Created:     19/07/2004 by Tiago Sousa
10 //  Compilers:   
11 //  Description: Glass shader extension used by the editor
12 //               for automatic shader generation (based on "Glass" shader template)
13 // -------------------------------------------------------------------------
14 //  History:
16 ////////////////////////////////////////////////////////////////////////////
19 Version (2.00)
21 UsesCommonGlobalFlags
23 Property
25   Name = %DIRT_MAP
26   Mask = 0x100000
27   Property    (Use Diffuse map)
28   Description (Use Diffuse map for dirt, etc. Requires Alpha channel)
31 Property
33   Name = %SPECULAR_MAP
34   Mask = 0x200000
35   Property    (Specular map)
36   Description (Use specular map as separate texture)
37   DependencySet = $TEX_Specular
38   DependencyReset = $TEX_Specular
39   Hidden
42 Property
44   Name = %ENVIRONMENT_MAP
45   Mask = 0x10
46   Property    (Environment map)
47   Description (Use environment map as separate texture)
48   DependencyReset = $TEX_EnvCM   
52 Property
54   Name = %TINT_MAP
55   Mask = 0x200
56   Property    (Tint map - Tint/Gloss/Spec)
57   Description (Use RGB Spec Map to control Tinting in Red channel / Cloudiness in Green channel / Specular in Blue channel)
61 Property
63   Name = %TINT_COLOR_MAP
64   Mask = 0x400
65   Property    (Use Tint Color Map)
66   Description (Use Tint Color Map for multi-colored glass, goes in the custom Tint Color Map slot)
67   DependencyReset = $TEX_Custom
68   DependencySet = $TEX_Custom
71 Property
73   Name = %BLUR_REFRACTION
74   Mask = 0x2000
75   Property    (Blur refraction - PC Only)
76   Description (Blur objects seen through the glass)  
79 Property
81   Name = %DEPTH_FOG
82   Mask = 0x4000
83   Property    (Depth Fog)
84   Description (Enables depth fog behind glass surface)
87 Property
89   Name = %UNLIT
90   Mask = 0x8000
91   Property    (Disable Lights)
92   Description (Disables the reflection of lights)