source: GTP/trunk/App/Demos/Illum/Shark3D/version164x12u/IllumDemo/bin/res/levelutil/shader/prog/gtp_plain_pointtex.s3d_shaderprog_run @ 2196

Revision 2196, 3.8 KB checked in by szirmay, 17 years ago (diff)
Line 
1///////////////////////////////////////////////////////////////////////////////
2//
3//      ##  ######
4//       ######  ###
5//  ## ###############        Shark 3D Engine (www.shark3d.com)
6//   ########## # # #
7//    ########                Copyright (c) 1996-2006 Spinor GmbH.
8//   ######### # # #          All rights reserved.
9//  ##   ##########
10//      ##
11//
12///////////////////////////////////////////////////////////////////////////////
13
14// Shader program configuration.
15// Different drivers access different parameters.
16
17// D3D9 Highlevel Shaderlanguage
18d3d9
19{
20    hlsl_vertshader
21    {
22        code_variant_array
23        {
24            profile "2x0"
25            entry_point "main"
26            code "levelutil/shader/prog/d3d9_hlsl/"
27                    & "gtp_plain_pointtex_d3d9_hlsl_vs2x0.s3d_shadercode_run"
28        }
29
30        tracking
31        {
32            codevar "projMat"
33            slot 0
34            chan "proj"
35            trans "identity"
36        }
37        {
38            codevar "matView"
39            slot 0
40            chan "view"
41            trans "identity"
42        }
43        {
44            codevar "matBone"
45            slot 0
46            chan "bone"
47            trans "identity"
48        }
49
50        predefine_array
51        {
52            name "S3D_USE_BONESUBSCR"
53        }
54        {
55            name "S3D_MATBONE_CNT"
56            val "32"
57        }
58
59        mtl
60        {
61            power_codevar ""
62            emissive_codevar "mtrlEmissive"
63        }
64
65    }
66
67    hlsl_pixshader
68    {
69        code_variant_array
70        {
71            profile "2x0"
72            entry_point "main"
73            code "levelutil/shader/prog/d3d9_hlsl/"
74                    & "gtp_plain_pointtex_d3d9_hlsl_ps2x0.s3d_shadercode_run"
75        }
76    }
77}
78
79
80
81
82
83/*
84// D3D9 Highlevel Shaderlanguage
85xe
86{
87    hlsl_vertshader
88    {
89        code_variant_array
90        {
91            profile "2x0"
92            entry_point "main"
93            code "levelutil/shader/prog/d3d9_hlsl/"
94                    & "plain_pointtex_d3d9_hlsl_vs2x0.s3d_shadercode_run"
95        }
96
97        tracking
98        {
99            codevar "projMat"
100            slot 0
101            chan "proj"
102            trans "identity"
103        }
104        {
105            codevar "matView"
106            slot 0
107            chan "view"
108            trans "identity"
109        }
110        {
111            codevar "matBone"
112            slot 0
113            chan "bone"
114            trans "identity"
115        }
116
117        predefine_array
118        {
119            name "S3D_USE_BONESUBSCR"
120        }
121        {
122            name "S3D_MATBONE_CNT"
123            val "32"
124        }
125
126        mtl
127        {
128            power_codevar ""
129            emissive_codevar "mtrlEmissive"
130        }
131
132    }
133
134    hlsl_pixshader
135    {
136        code_variant_array
137        {
138            profile "2x0"
139            entry_point "main"
140            code "levelutil/shader/prog/d3d9_hlsl/"
141                    & "plain_pointtex_d3d9_hlsl_ps2x0.s3d_shadercode_run"
142        }
143
144        //fog_codevar "paramFog"
145    }
146}
147
148ogl
149{
150    glsl
151    {
152        vertshader
153        {
154            code_variant_array
155            {
156                req_ver "1x0"
157                code_array "levelutil/shader/prog/ogl_glsl/"
158                        & "plain_ogl_glsl_vs1x0.s3d_shadercode_run"
159            }
160
161            tracking
162            {
163                cnt 4
164                codevar "matBone[$]"
165                chan "bone"
166                trans "identity"
167            }
168
169            //  attribute vec4 bone_wgh;
170            bone_wgh "boneWgh"
171            //bone_subscr "boneSubscr"
172
173            predefine_array
174            {
175                name "S3D_USE_BONEWGH"
176            }
177        }
178    }
179}
180*/
Note: See TracBrowser for help on using the repository browser.