home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
GameStar 2006 February
/
Gamestar_81_2006-02_dvd.iso
/
Dema
/
roboblitz_demo.msi
/
disk1.cab
/
Definitions.cg
< prev
next >
Wrap
Text File
|
2005-03-31
|
2KB
|
69 lines
/*=============================================================================
Definitions.hlsl: Defines undefined defines to 0 as Cg can't handle them.
Copyright 2005 Epic Games, Inc. All Rights Reserved.
Revision history:
* Branched from HLSL code by Daniel Vogel
=============================================================================*/
#define PI 3.141592653
#ifndef USE_FP_BLENDING
#define USE_FP_BLENDING 0
#endif
#ifndef SHADER_TWOSIDED
#define SHADER_TWOSIDED 0
#endif
#ifndef SHADERBLENDING_MASKED
#define SHADERBLENDING_MASKED 0
#endif
#ifndef SHADERBLENDING_TRANSLUCENT
#define SHADERBLENDING_TRANSLUCENT 0
#endif
#ifndef SHADERBLENDING_ADDITIVE
#define SHADERBLENDING_ADDITIVE 0
#endif
#ifndef SHADER_LIGHTINGMODEL_SHPRT
#define SHADER_LIGHTINGMODEL_SHPRT 0
#endif
#ifndef SHADER_LIGHTINGMODEL_CUSTOM
#define SHADER_LIGHTINGMODEL_CUSTOM 0
#endif
#ifndef SHADER_LIGHTINGMODEL_NONDIRECTIONAL
#define SHADER_LIGHTINGMODEL_NONDIRECTIONAL 0
#endif
#ifndef SHADER_LIGHTINGMODEL_SHPRT
#define SHADER_LIGHTINGMODEL_SHPRT 0
#endif
#ifndef SHADER_LIGHTINGMODEL_PHONG
#define SHADER_LIGHTINGMODEL_PHONG 1
#endif
#ifndef SHADER_LIGHTINGMODEL_CUSTOM
#define SHADER_LIGHTINGMODEL_CUSTOM 0
#endif
#ifndef SHADER_LIGHTINGMODEL_UNLIT
#define SHADER_LIGHTINGMODEL_UNLIT 0
#endif
#ifndef USE_HW_INSTANCING
#define USE_HW_INSTANCING 0
#endif
#ifndef STATICLIGHTING_VERTEXMASK
#define STATICLIGHTING_VERTEXMASK 0
#endif
#ifndef STATICLIGHTING_TEXTUREMASK
#define STATICLIGHTING_TEXTUREMASK 0
#endif