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

Revision 2269, 2.9 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_bright_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_bright_ogl_glsl_fs1x0.s3d_shadercode_run"
34            }
35        }
36
37        sampler_array "tex0"
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_bright_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_bright_d3d9_hlsl_ps2x0.s3d_shadercode_run"
79        }
80    }
81}
82
83//#ifdef S3D_GENERAL_PLATFORM_XE
84xe
85{
86    hlsl_vertshader
87    {
88        code_variant_array
89        {
90            profile"1x1"
91            entry_point "main"
92            code "levelutil/shader/prog/d3d9_hlsl/"
93                    & "bloom_bright_d3d9_hlsl_vs1x1.s3d_shadercode_run"
94        }
95        tracking
96        {
97            codevar "matProjView"
98            slot 0
99            chan "projview"
100            trans "identity"
101        }
102        {
103            codevar "matView"
104            slot 0
105            chan "view"
106            trans "identity"
107        }
108        mtl
109        {
110            emissive_codevar "mtrlEmissive"
111        }
112    }
113
114    hlsl_pixshader
115    {
116        code_variant_array
117        {
118            profile "2x0"
119            entry_point "main"
120            code "levelutil/shader/prog/d3d9_hlsl/"
121                    & "bloom_bright_d3d9_hlsl_ps2x0.s3d_shadercode_run"
122        }
123    }
124}
125//#endif
126
Note: See TracBrowser for help on using the repository browser.