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 >
Text File  |  2005-03-31  |  2KB  |  69 lines

  1. /*=============================================================================
  2.     Definitions.hlsl: Defines undefined defines to 0 as Cg can't handle them.
  3.     Copyright 2005 Epic Games, Inc. All Rights Reserved.
  4.  
  5.     Revision history:
  6.         * Branched from HLSL code by Daniel Vogel
  7. =============================================================================*/
  8.  
  9. #define PI 3.141592653
  10.  
  11. #ifndef USE_FP_BLENDING
  12. #define USE_FP_BLENDING                                0
  13. #endif
  14.  
  15. #ifndef SHADER_TWOSIDED
  16. #define    SHADER_TWOSIDED                                0
  17. #endif
  18.  
  19. #ifndef SHADERBLENDING_MASKED
  20. #define SHADERBLENDING_MASKED                        0
  21. #endif
  22.  
  23. #ifndef SHADERBLENDING_TRANSLUCENT
  24. #define SHADERBLENDING_TRANSLUCENT                    0
  25. #endif
  26.  
  27. #ifndef SHADERBLENDING_ADDITIVE
  28. #define SHADERBLENDING_ADDITIVE                        0
  29. #endif
  30.  
  31. #ifndef SHADER_LIGHTINGMODEL_SHPRT
  32. #define    SHADER_LIGHTINGMODEL_SHPRT                    0
  33. #endif
  34.  
  35. #ifndef SHADER_LIGHTINGMODEL_CUSTOM
  36. #define    SHADER_LIGHTINGMODEL_CUSTOM                    0
  37. #endif
  38.  
  39. #ifndef SHADER_LIGHTINGMODEL_NONDIRECTIONAL
  40. #define SHADER_LIGHTINGMODEL_NONDIRECTIONAL            0
  41. #endif
  42.  
  43. #ifndef SHADER_LIGHTINGMODEL_SHPRT
  44. #define SHADER_LIGHTINGMODEL_SHPRT                    0
  45. #endif
  46.  
  47. #ifndef SHADER_LIGHTINGMODEL_PHONG
  48. #define SHADER_LIGHTINGMODEL_PHONG                    1
  49. #endif
  50.  
  51. #ifndef SHADER_LIGHTINGMODEL_CUSTOM
  52. #define    SHADER_LIGHTINGMODEL_CUSTOM                    0
  53. #endif
  54.  
  55. #ifndef SHADER_LIGHTINGMODEL_UNLIT
  56. #define    SHADER_LIGHTINGMODEL_UNLIT                    0
  57. #endif
  58.  
  59. #ifndef USE_HW_INSTANCING
  60. #define USE_HW_INSTANCING                            0
  61. #endif
  62.  
  63. #ifndef STATICLIGHTING_VERTEXMASK
  64. #define STATICLIGHTING_VERTEXMASK                    0
  65. #endif
  66.  
  67. #ifndef STATICLIGHTING_TEXTUREMASK
  68. #define STATICLIGHTING_TEXTUREMASK                    0
  69. #endif