Files
Jedi-Academy/codemp/win32/shader_constants.h
2013-04-04 14:32:05 -07:00

53 lines
930 B
C

//
//
// ShaderConstants.h
//
// Definitions for various shader constants
//
//
#ifndef _SHADERCONSTANTS_H_
#define _SHADERCONSTANTS_H_
#define CV_ZERO 0
#define CV_ONE 1
#define CV_HALF 2
#define CV_WORLDVIEWPROJ_0 4
#define CV_WORLDVIEWPROJ_1 5
#define CV_WORLDVIEWPROJ_2 6
#define CV_WORLDVIEWPROJ_3 7
#define CV_WORLDVIEW_0 8
#define CV_WORLDVIEW_1 9
#define CV_WORLDVIEW_2 10
#define CV_WORLDVIEW_3 11
#define CV_WORLDVIEWIT_0 12
#define CV_WORLDVIEWIT_1 13
#define CV_WORLDVIEWIT_2 14
#define CV_WORLD_0 15
#define CV_WORLD_1 16
#define CV_WORLD_2 17
#define CV_WORLD_3 18
#define CV_VIEWINV_0 19
#define CV_VIEWINV_1 20
#define CV_VIEWINV_2 21
#define CV_VIEWINV_3 22
#define CV_LIGHT_COLOR 50
#define CV_ONE_OVER_LIGHT_RANGE 51
#define CV_LIGHT_DIRECTION 52
#define CV_LIGHT_POSITION 53
#define CV_CAMERA_DIRECTION 54
#define CV_VIEWPORT_OFFSETS 95
#define CP_AMBIENT_COLOR 0
#define CP_DIFFUSE_COLOR 1
#endif