source: GTP/trunk/App/Demos/Geom/Shark3D/clod_head_demo_win32/src/res/levelutil/shader/prog/lightfilter.s3d_shaderprog @ 2236

Revision 2236, 3.3 KB checked in by gumbau, 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
14ogl
15{
16    glsl
17    {
18        vertshader
19        {
20            code_variant_array
21            {
22                req_ver "1x0"
23                code_array "levelutil/shader/prog/ogl_glsl/"
24                        & "lightfilter_ogl_glsl_vs1x0.s3d_shadercode_run"
25            }
26        }
27
28        fragshader
29        {
30            code_variant_array
31            {
32                req_ver "1x0"
33                code_array "levelutil/shader/prog/ogl_glsl/"
34                        & "lightfilter_ogl_glsl_fs1x0.s3d_shadercode_run"
35            }
36
37            predefine_array
38        }
39
40        param_array
41        {
42            src_progvar "prog_passinfo"
43            dest_codevar "passInfo"
44            type "float4"
45        }
46        {
47            src_progvar "prog_filterinfo"
48            dest_codevar "filterInfo"
49            type "float4"
50        }
51
52        tex_rcpsize_codevar_array "tex0RcpSize"
53
54        sampler_array "brightTex"
55    }
56}
57
58d3d9
59{
60    hlsl_vertshader
61    {
62        code_variant_array
63        {
64            profile "2x0"
65            entry_point "main"
66            code "levelutil/shader/prog/d3d9_hlsl/"
67                    & "lightfilter_d3d9_hlsl_vs2x0.s3d_shadercode_run"
68        }
69
70        tracking
71        {
72            codevar "matProjView"
73            slot 0
74            chan "projview"
75            trans "identity"
76        }
77
78        param_array
79        {
80            src_progvar "prog_passinfo"
81            dest_codevar "passInfo"
82            type "float4"
83        }
84
85        tex_rcpsize_codevar_array "tex0RcpSize"
86    }
87
88    hlsl_pixshader
89    {
90        code_variant_array
91        {
92            profile "2x0"
93            entry_point "main"
94            code "levelutil/shader/prog/d3d9_hlsl/"
95                    & "lightfilter_d3d9_hlsl_ps2x0.s3d_shadercode_run"
96        }
97
98        param_array
99       
100        predefine_array
101    }
102}
103
104xe
105{
106    hlsl_vertshader
107    {
108        code_variant_array
109        {
110            profile "2x0"
111            entry_point "main"
112            code "levelutil/shader/prog/d3d9_hlsl/"
113                    & "lightfilter_d3d9_hlsl_vs2x0.s3d_shadercode_run"
114        }
115
116        tracking
117        {
118            codevar "matProjView"
119            slot 0
120            chan "projview"
121            trans "identity"
122        }
123
124        param_array
125        {
126            src_progvar "prog_passinfo"
127            dest_codevar "passInfo"
128            type "float4"
129        }
130
131        tex_rcpsize_codevar_array "tex0RcpSize"
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                    & "lightfilter_d3d9_hlsl_ps2x0.s3d_shadercode_run"
142        }
143
144        param_array
145       
146        predefine_array
147    }
148}
Note: See TracBrowser for help on using the repository browser.