source: GTP/trunk/App/Demos/Illum/IBRBillboardCloudTrees/Shark3D/demo_v5x0x7_t164x31u_enterpr_kwin32/bin/res/levelutil/shader/prog/plain_point.s3d_shaderprog_run @ 2330

Revision 2330, 2.4 KB checked in by igarcia, 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
17ogl
18{
19    glsl
20    {
21        vertshader
22        {
23            code_variant_array
24            {
25                req_ver "1x0"
26                code_array "levelutil/shader/prog/ogl_glsl/"
27                        & "plain_ogl_glsl_vs1x0.s3d_shadercode_run"
28            }
29
30            tracking
31            {
32                cnt 4
33                codevar "matBone[$]"
34                chan "bone"
35                trans "identity"
36            }
37
38            //  attribute vec4 bone_wgh;
39            bone_wgh "boneWgh"
40            //bone_subscr "boneSubscr"
41
42            predefine_array
43            {
44                name "S3D_USE_BONEWGH"
45            }
46        }
47    }
48}
49
50d3d9
51{
52    hlsl_vertshader
53    {
54        code_variant_array
55        {
56            profile "2x0"
57            entry_point "main"
58            code "levelutil/shader/prog/d3d9_hlsl/"
59                    & "plain_point_d3d9_hlsl_vs2x0.s3d_shadercode_run"
60        }
61
62        tracking
63        {
64            codevar "projMat"
65            slot 0
66            chan "proj"
67            trans "identity"
68        }
69        {
70            codevar "matView"
71            slot 0
72            chan "view"
73            trans "identity"
74        }
75        {
76            codevar "matBone"
77            slot 0
78            chan "bone"
79            trans "identity"
80        }
81
82        predefine_array
83        {
84            name "S3D_USE_BONESUBSCR"
85        }
86        {
87            name "S3D_MATBONE_CNT"
88            val "32"
89        }
90
91        mtl
92        {
93            power_codevar ""
94            emissive_codevar "mtrlEmissive"
95        }
96
97    }
98
99    hlsl_pixshader
100    {
101        code_variant_array
102        {
103            profile "2x0"
104            entry_point "main"
105            code "levelutil/shader/prog/d3d9_hlsl/"
106                    & "plain_point_d3d9_hlsl_ps2x0.s3d_shadercode_run"
107        }
108    }
109}
110
Note: See TracBrowser for help on using the repository browser.