source: GTP/trunk/App/Demos/Illum/Shark3D/version164x12u/IllumDemo/src/res/levelutil/shader/prog/lightfilter.s3d_shaderprog @ 2196

Revision 2196, 3.2 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
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        tex_rcpsize_codevar_array "tex0RcpSize"
48
49        sampler_array "brightTex"
50    }
51}
52
53d3d9
54{
55    hlsl_vertshader
56    {
57        code_variant_array
58        {
59            profile "2x0"
60            entry_point "main"
61            code "levelutil/shader/prog/d3d9_hlsl/"
62                    & "lightfilter_d3d9_hlsl_vs2x0.s3d_shadercode_run"
63        }
64
65        tracking
66        {
67            codevar "matProjView"
68            slot 0
69            chan "projview"
70            trans "identity"
71        }
72
73        param_array
74        {
75            src_progvar "prog_passinfo"
76            dest_codevar "passInfo"
77            type "float4"
78        }
79
80        tex_rcpsize_codevar_array "tex0RcpSize"
81    }
82
83    hlsl_pixshader
84    {
85        code_variant_array
86        {
87            profile "2x0"
88            entry_point "main"
89            code "levelutil/shader/prog/d3d9_hlsl/"
90                    & "lightfilter_d3d9_hlsl_ps2x0.s3d_shadercode_run"
91        }
92
93        param_array
94       
95        predefine_array
96    }
97}
98
99xe
100{
101    hlsl_vertshader
102    {
103        code_variant_array
104        {
105            profile "2x0"
106            entry_point "main"
107            code "levelutil/shader/prog/d3d9_hlsl/"
108                    & "lightfilter_d3d9_hlsl_vs2x0.s3d_shadercode_run"
109        }
110
111        tracking
112        {
113            codevar "matProjView"
114            slot 0
115            chan "projview"
116            trans "identity"
117        }
118
119        param_array
120        {
121            src_progvar "prog_passinfo"
122            dest_codevar "passInfo"
123            type "float4"
124        }
125
126        tex_rcpsize_codevar_array "tex0RcpSize"
127    }
128
129    hlsl_pixshader
130    {
131        code_variant_array
132        {
133            profile "2x0"
134            entry_point "main"
135            code "levelutil/shader/prog/d3d9_hlsl/"
136                    & "lightfilter_d3d9_hlsl_ps2x0.s3d_shadercode_run"
137        }
138
139        param_array
140       
141        predefine_array
142    }
143}
Note: See TracBrowser for help on using the repository browser.