home *** CD-ROM | disk | FTP | other *** search
- ////////////////////////////////////////////////////////////////////////////
- //
- // Crytek Engine Source File.
- // Shader extension
- // Copyright (C), Crytek Studios, 2001-2004.
- // -------------------------------------------------------------------------
- // File name: Illumination.ext
- // Version: v1.00
- // Created: 16/2/2004 by Andrey Honich.
- // Compilers:
- // Description: Illumination shader extension used by the editor
- // for automatic shader generation (based on "Illumination" shader template)
- // -------------------------------------------------------------------------
- // History:
- //
- ////////////////////////////////////////////////////////////////////////////
-
-
-
- Version (1.00)
-
- Property
- {
- Name = %DIFFUSE
- Mask = 0x1
- Property (Diffuse lighting)
- Description (Use diffuse lighting)
- }
- Property
- {
- Name = %SPECULAR
- Mask = 0x2
- Property (Specular lighting)
- Description (Use specular lighting)
- }
- Property
- {
- Name = %DIFFUSE_NCM
- Mask = 0x4
- Property (Diffuse NormCM)
- Description (Smooth Diffuse (for low-poly))
- }
- Property
- {
- Name = %SPECULAR_NCM
- Mask = 0x8
- Property (Specular NormCM)
- Description (Smooth Specular (for low-poly))
- }
- Property
- {
- Name = %GLOSS_MAP
- Mask = 0x10
- Property (Gloss map)
- Description (Use gloss map as separate texture)
- }
- Property
- {
- Name = %GLOSS_DIFFUSEALPHA
- Mask = 0x20
- Property (Gloss map DifAlpha)
- Description (Use gloss map as alpha channel in diffuse texture)
- }
- Property
- {
- Name = %ENVCMAMB
- Mask = 0x40
- Property (Ambient EnvCM)
- Description (Use Env. CM reflections without fresnel)
- }
- Property
- {
- Name = %ENVCMSPEC
- Mask = 0x80
- Property (Specular EnvCM)
- Description (Use per-pixel Env. CM reflections with fresnel)
- }
- Property
- {
- Name = %PROJLIGHT_PERPIXELATTEN
- Mask = 0x100
- Property (Per-pix. Atten ProjLight)
- Description (Use per-pixel attenuation with projected lights)
- }
- Property
- {
- Name = %BUMP_NORMALIZE
- Mask = 0x200
- Property (Normalize Bump)
- Description (Use per-pixel normalization of bump normals)
- }
- Property
- {
- Name = %SPECULAR_PERPIXEL
- Mask = 0x400
- Property (PerPixel Specular)
- Description (Use phong specular calculations completelly on per-pixel basis)
- }
- Property
- {
- Name = %SPECULARPOW_GLOSSALPHA
- Mask = 0x800
- Property (PerPixel Spec. Shinines)
- Description (Use specular shininess coef. as alpha channel of gloss texture)
- }
- Property
- {
- Name = %BUMP_MAP
- Mask = 0x1000
- Property (Bump map)
- Description (Use bump-map texture)
- }
- Property
- {
- Name = %ALPHAGLOW
- Mask = 0x2000
- Property (Glow in Dif. alpha)
- Description (Use alpha channel of diffuse texture for glow)
- }
- Property
- {
- Name = %DIFFUSEALPHA
- Mask = 0x4000
- Property (Diffuse alpha out)
- Description (Output alpha channel of diffuse texture for transparency)
- }
- Property
- {
- Name = %DIFFUSE_PERPIXEL
- Mask = 0x8000
- Property (PerPixel Diffuse)
- Description (Use per-pixel normalization of Light Vector)
- }
- Property
- {
- Name = %RTCUBEMAP
- Mask = 0x10000
- Property (RealTime cube-map)
- Description (Use real-time Cube-Map updating)
- }
- Property
- {
- Name = %OFFSETBUMPMAPPING
- Mask = 0x20000
- Property (Offset bump-mapping)
- Description (Use offset-bump-mapping (requires height-map in alpha-channel of bump texture))
- }
- Property
- {
- Name = %PERPIXEL_SHADOWMAP
- Mask = 0x40000
- Property (PerPixel shadowmaps)
- Description (Use per-pixel correct shadow maps using height offset from alpha channel of bump texture)
- }
- Property
- {
- Name = %ENVCM_MASKED
- Mask = 0x80000
- Property (Masked EnvCMAmb)
- Description (Use EnvCM reflections masked by alpha channel from gloss alpha)
- }
- Property
- {
- Name = %BUMP_DIFFUSE
- Mask = 0x100000
- Property (BumpDiffuse)
- Description (Use separate bump map for diffuse lighting)
- }
- Property
- {
- Name = %VIEWVEC_NCM
- Mask = 0x200000
- Property (ViewVec NormCM)
- Description (Use normalization of View Vector via NCM)
- }
- Property
- {
- Name = %VERTCOLORS
- Mask = 0x400000
- Property (Vertex Colors)
- Description (Use vertex colors)
- }
- Property
- {
- Name = %BUMP_ZCORRECT
- Mask = 0x800000
- Property (Z-Correct bump)
- Description (Z-Correct bump-mapping)
- }
-
- Property
- {
- Name = %TEMP_DOT3LM
- Mask = 0x1000000
- Hidden
- }
- Property
- {
- Name = %TEMP_LM
- Mask = 0x2000000
- Hidden
- }
- Property
- {
- Name = %TEMP_ENVLIGHT
- Mask = 0x4000000
- Hidden
- }
- Property
- {
- Name = %TEMP_LIGHTFADE
- Mask = 0x8000000
- Hidden
- }
- Property
- {
- Name = %TEMP_PROJLIGHT
- Mask = 0x8000000
- Hidden
- }
- Property
- {
- Name = %TEMP_PROJLIGHT
- Mask = 0x8000000
- Hidden
- }
- Property
- {
- Name = %TEMP_DEPTH_MAP_PS20
- Mask = 0x8000000
- Hidden
- }
- Property
- {
- Name = %TEMP_SHAD_SAMPLEMASK1
- Mask = 0x10000000
- Hidden
- }
- Property
- {
- Name = %TEMP_SHAD_SAMPLEMASK2
- Mask = 0x20000000
- Hidden
- }
- Property
- {
- Name = %TEMP_AMBIENT
- Mask = 0x20000000
- Hidden
- }
- Property
- {
- Name = %TEMP_DEPTH_MAP
- Mask = 0x40000000
- Hidden
- }
- Property
- {
- Name = %TEMP_SPECULAR_OCCLUSIONMAP
- Mask = 0x40000000
- Hidden
- }
- Property
- {
- Name = %TEMP_MIXED_MAP
- Mask = 0x80000000
- Hidden
- }
- Property
- {
- Name = %TEMP_TEMP_AMBIENT
- Mask = 0x80000000
- Hidden
- }
- Property
- {
- Name = %TEMP_SHADOW_DSTALPHA
- Mask = 0x100000000
- Hidden
- }
-
-