source: GTP/trunk/App/Demos/Illum/Shark3D/version164x12u/CleanTheLab/src/res/levelutil/shader/prog/bloom_combine.s3d_shaderprog @ 2453

Revision 2453, 2.9 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_combine_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_combine_ogl_glsl_fs1x0.s3d_shadercode_run"
34            }
35        }
36
37        sampler_array "tex0" "tex1"
38    }
39}
40
41d3d9
42{
43    hlsl_vertshader
44    {
45        code_variant_array
46        {
47            profile "1x1"
48            entry_point "main"
49            code "levelutil/shader/prog/d3d9_hlsl/"
50                    & "bloom_combine_d3d9_hlsl_vs1x1.s3d_shadercode_run"
51        }
52        tracking
53        {
54            codevar "matProjView"
55            slot 0
56            chan "projview"
57            trans "identity"
58        }
59        {
60            codevar "matView"
61            slot 0
62            chan "view"
63            trans "identity"
64        }
65        mtl
66        {
67            emissive_codevar "mtrlEmissive"
68        }
69    }
70
71    hlsl_pixshader
72    {
73        code_variant_array
74        {
75            profile "2x0"
76            entry_point "main"
77            code "levelutil/shader/prog/d3d9_hlsl/"
78                    & "bloom_combine_d3d9_hlsl_ps2x0.s3d_shadercode_run"
79        }
80
81        param_array
82    }
83}
84
85//#ifdef S3D_GENERAL_PLATFORM_XE
86xe
87{
88    hlsl_vertshader
89    {
90        code_variant_array
91        {
92            profile "1x1"
93            entry_point "main"
94            code "levelutil/shader/prog/d3d9_hlsl/"
95                    & "bloom_combine_d3d9_hlsl_vs1x1.s3d_shadercode_run"
96        }
97        tracking
98        {
99            codevar "matProjView"
100            slot 0
101            chan "projview"
102            trans "identity"
103        }
104        {
105            codevar "matView"
106            slot 0
107            chan "view"
108            trans "identity"
109        }
110        mtl
111        {
112            emissive_codevar "mtrlEmissive"
113        }
114    }
115
116    hlsl_pixshader
117    {
118        code_variant_array
119        {
120            profile "2x0"
121            entry_point "main"
122            code "levelutil/shader/prog/d3d9_hlsl/"
123                    & "bloom_combine_d3d9_hlsl_ps2x0.s3d_shadercode_run"
124        }
125
126        param_array
127    }
128}
129//#endif
130
Note: See TracBrowser for help on using the repository browser.