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

Revision 2196, 3.4 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                        & "bloom_smooth_ogl_glsl_vs1x0.s3d_shadercode_run"
25            }
26        }
27        fragshader
28        {
29            code_variant_array
30            {
31                req_ver "1x0"
32                code_array "levelutil/shader/prog/ogl_glsl/"
33                        & "bloom_smooth_ogl_glsl_fs1x0.s3d_shadercode_run"
34            }
35        }
36
37        sampler_array "tex0"
38        tex_rcpsize_codevar_array "tex0RcpSize"
39
40        param_array
41        {
42            src_progvar "prog_passinfo"
43            dest_codevar "passInfo"
44            type "float4"
45        }
46    }
47}
48
49d3d9
50{
51    hlsl_vertshader
52    {
53        code_variant_array
54        {
55            profile "1x1"
56            entry_point "main"
57            code "levelutil/shader/prog/d3d9_hlsl/"
58                    & "bloom_smooth_d3d9_hlsl_vs1x1.s3d_shadercode_run"
59        }
60        tracking
61        {
62            codevar "matProjView"
63            slot 0
64            chan "projview"
65            trans "identity"
66        }
67        {
68            codevar "matView"
69            slot 0
70            chan "view"
71            trans "identity"
72        }
73        param_array
74        {
75            src_progvar "prog_passinfo"
76            dest_codevar "passInfo"
77            type "float4"
78        }
79        mtl
80        {
81            emissive_codevar "mtrlEmissive"
82        }
83        tex_rcpsize_codevar_array "tex0RcpSize"
84    }
85
86    hlsl_pixshader
87    {
88        code_variant_array
89        {
90            profile "2x0"
91            entry_point "main"
92            code "levelutil/shader/prog/d3d9_hlsl/"
93                    & "bloom_smooth_d3d9_hlsl_ps2x0.s3d_shadercode_run"
94        }
95    }
96}
97
98xe
99{
100    hlsl_vertshader
101    {
102        code_variant_array
103        {
104            profile "1x1"
105            entry_point "main"
106            code "levelutil/shader/prog/d3d9_hlsl/"
107                    & "bloom_smooth_d3d9_hlsl_vs1x1.s3d_shadercode_run"
108        }
109        tracking
110        {
111            codevar "matProjView"
112            slot 0
113            chan "projview"
114            trans "identity"
115        }
116        {
117            codevar "matView"
118            slot 0
119            chan "view"
120            trans "identity"
121        }
122        param_array
123        {
124            src_progvar "prog_passinfo"
125            dest_codevar "passInfo"
126            type "float4"
127        }
128        mtl
129        {
130            emissive_codevar "mtrlEmissive"
131        }
132        tex_rcpsize_codevar_array "tex0RcpSize"
133    }
134
135    hlsl_pixshader
136    {
137        code_variant_array
138        {
139            profile "2x0"
140            entry_point "main"
141            code "levelutil/shader/prog/d3d9_hlsl/"
142                    & "bloom_smooth_d3d9_hlsl_ps2x0.s3d_shadercode_run"
143        }
144    }
145}
146
Note: See TracBrowser for help on using the repository browser.