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

Revision 2269, 3.5 KB checked in by barsi, 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
98//#ifdef S3D_GENERAL_PLATFORM_XE
99xe
100{
101    hlsl_vertshader
102    {
103        code_variant_array
104        {
105            profile "1x1"
106            entry_point "main"
107            code "levelutil/shader/prog/d3d9_hlsl/"
108                    & "bloom_smooth_d3d9_hlsl_vs1x1.s3d_shadercode_run"
109        }
110        tracking
111        {
112            codevar "matProjView"
113            slot 0
114            chan "projview"
115            trans "identity"
116        }
117        {
118            codevar "matView"
119            slot 0
120            chan "view"
121            trans "identity"
122        }
123        param_array
124        {
125            src_progvar "prog_passinfo"
126            dest_codevar "passInfo"
127            type "float4"
128        }
129        mtl
130        {
131            emissive_codevar "mtrlEmissive"
132        }
133        tex_rcpsize_codevar_array "tex0RcpSize"
134    }
135
136    hlsl_pixshader
137    {
138        code_variant_array
139        {
140            profile "2x0"
141            entry_point "main"
142            code "levelutil/shader/prog/d3d9_hlsl/"
143                    & "bloom_smooth_d3d9_hlsl_ps2x0.s3d_shadercode_run"
144        }
145    }
146}
147//#endif
148
Note: See TracBrowser for help on using the repository browser.