1 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
2 * Mupen64plus - VertexShaderConstantDef.h *
3 * Mupen64Plus homepage: http://code.google.com/p/mupen64plus/ *
4 * Copyright (C) 2003 Rice1964 *
6 * This program is free software; you can redistribute it and/or modify *
7 * it under the terms of the GNU General Public License as published by *
8 * the Free Software Foundation; either version 2 of the License, or *
9 * (at your option) any later version. *
11 * This program is distributed in the hope that it will be useful, *
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of *
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
14 * GNU General Public License for more details. *
16 * You should have received a copy of the GNU General Public License *
17 * along with this program; if not, write to the *
18 * Free Software Foundation, Inc., *
19 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
20 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
39 #define CV_NINE_TENTH 4
42 #define CV_WORLDVIEWPROJ_0 10
43 #define CV_WORLDVIEWPROJ_1 11
44 #define CV_WORLDVIEWPROJ_2 12
45 #define CV_WORLDVIEWPROJ_3 13
47 #define CV_WORLDVIEW_0 14
48 #define CV_WORLDVIEW_1 15
49 #define CV_WORLDVIEW_2 16
50 #define CV_WORLDVIEW_3 17
52 #define CV_LIGHT1_DIRECTION 30
53 #define CV_LIGHT2_DIRECTION 31
54 #define CV_LIGHT3_DIRECTION 32
55 #define CV_LIGHT4_DIRECTION 33
56 #define CV_LIGHT5_DIRECTION 34
57 #define CV_LIGHT6_DIRECTION 35
58 #define CV_LIGHT7_DIRECTION 36
60 #define CV_LIGHT0_AMBIENT 20
61 #define CV_LIGHT1_DIFFUSE 21
62 #define CV_LIGHT2_DIFFUSE 22
63 #define CV_LIGHT3_DIFFUSE 23
64 #define CV_LIGHT4_DIFFUSE 24
65 #define CV_LIGHT5_DIFFUSE 25
66 #define CV_LIGHT6_DIFFUSE 26
67 #define CV_LIGHT7_DIFFUSE 27
69 #define USE_PRIMARY_DEPTH 40
70 #define PRIMARY_DEPTH 41
72 #define FOG_IS_ENABLED 42
74 #define USE_PRIMARY_COLOR 43
75 #define PRIMARY_COLOR 44
77 #define LIGHTING_ENABLED 45
79 #define FORCE_VTX_ALPHA 46
82 #define Z_HACK_ENABLE 49
84 #define T0_SCALE_X_Y 50
85 #define T1_SCALE_X_Y 51
86 #define T0_OFFSET_X_Y 52
87 #define T1_OFFSET_X_Y 53