//
//
// 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_VIEW_0	23
#define CV_VIEW_1	24
#define CV_VIEW_2	25
#define CV_VIEW_3	26

#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_EXTRUSION_LENGTH 55
#define CV_SHADOW_FACTORS	56
#define CV_SHADOW_PLANE		57

#define CV_VIEWPORT_OFFSETS 95

#define CP_AMBIENT_COLOR	0
#define CP_DIFFUSE_COLOR	1
#define CP_EXTRACT_CUTOFF	2
#define CP_EXTRACT_SCALE	3

#endif