!I integrate from //ce/main...
[CRYENGINE.git] / Engine / Shaders / Illum.ext
blob275150ac981a0f7d58ec5deaccbe0c713492f67c
1 ////////////////////////////////////////////////////////////////////////////
2 //
3 //  Crytek Engine Source File.
4 //  Shader extension
5 //  Copyright (C), Crytek Studios, 2001-2004.
6 // -------------------------------------------------------------------------
7 //  File name:   Illumination.ext
8 //  Version:     v1.00
9 //  Created:     16/2/2004 by Andrey Honich.
10 //  Compilers:   
11 //  Description: Illumination shader extension used by the editor
12 //               for automatic shader generation (based on "Illumination" shader template)
13 // -------------------------------------------------------------------------
14 //  History:
16 ////////////////////////////////////////////////////////////////////////////
20 Version (1.00)
22 UsesCommonGlobalFlags
24 Property
26   Name = %NORMAL_MAP
27   Mask = 0x1
28   Property    (Normal map)
29   Description (Use normal-map texture)
30   DependencySet = $TEX_Normals
31   DependencyReset = $TEX_Normals
32   Hidden
35 Property
37   Name = %SPECULAR_MAP
38   Mask = 0x10
39   Property    (Specular map)
40   Description (Use specular map as separate texture)
41   DependencySet = $TEX_Specular
42   DependencyReset = $TEX_Specular
43   Hidden
46 Property
48   Name = %DETAIL_MAPPING
49   Mask = 0x4000
50   Property    (Detail mapping)
51   Description (Use detail mapping)
52   DependencyReset = $TEX_Detail
55 Property
57   Name = %OFFSET_BUMP_MAPPING
58   Mask = 0x20000
59   Property    (Offset bump mapping)
60   Description (Use offset bump mapping (requires height map (_displ)))
61   DependencyReset = $TEX_Normals
64 Property
66   Name = %VERTCOLORS
67   Mask = 0x400000
68   Property    (Vertex Colors)
69   Description (Use vertex colors)
72 Property
74   Name = %BILLBOARD
75   Mask = 0x2000
76   Property    (Billboard)
77   Description (Rotate geometry towards camera)
80 Property
82   Name = %DECAL
83   Mask = 0x2000000
84   Property    (Decal)
85   Description (Use as Decal)
88 Property
90   Name = %PARALLAX_OCCLUSION_MAPPING
91   Mask = 0x8000000
92   Property    (Parallax occlusion mapping)
93   Description (Use parallax occlusion mapping (requires height map (_displ)))
94   DependencyReset = $TEX_Normals
97 #ifdef FEATURE_MESH_TESSELLATION
98 Property
100   Name = %DISPLACEMENT_MAPPING
101   Mask = 0x10000000
102   Property    (Displacement mapping)
103   Description (Use displacement mapping (requires height map (_displ)))
104   //DependencySet = $TEX_Height
105   DependencyReset = $TEX_Normals
108 Property
110   Name = %PHONG_TESSELLATION
111   Mask = 0x20000000
112   Property    (Phong tessellation)
113   Description (Use rough approximation of smooth surface subdivision)
116 Property
118   Name = %PN_TESSELLATION
119   Mask = 0x40000000
120   Property    (PN triangles tessellation)
121   Description (Use rough approximation of smooth surface subdivision)
123 #endif
125 Property
127   Name = %DIRTLAYER
128   Mask = 0x200000
129   Property    (Dirtlayer)
130   Description (Deprecated - Dirt layer blended on top of base map (RGBA dirt map required in Custom slot))
131   DependencyReset = $TEX_Custom
134 Property
136   Name = %BLENDLAYER
137   Mask = 0x100
138   Property    (Blendlayer)
139   Description (Normal-mapped diffuse layer blended on top of base material)
142 Property
144   Name = %ALPHAMASK_DETAILMAP
145   Mask = 0x800000
146   Property    (DetailMap mask in Diffuse alpha)
147   Description (Use diffuse map alpha for masking detail maps)
150 Property
152   Name = %SILHOUETTE_PARALLAX_OCCLUSION_MAPPING
153   Mask = 0x10000
154   Property    (Silhouette POM)
155   Description (Parallax occlusion mapping with silhouette (requires height map (_displ)))
156   DependencyReset = $TEX_Normals
159 Property
161   Name = %SUBSURFACE_SCATTERING
162   Mask = 0x80000
163   DependencySet = $UserEnabled
164   Hidden