source: GTP/trunk/App/Demos/Illum/IBRBillboardCloudTrees/Shark3D/bin/res/levelutil/shader/prog/bloom_smooth.s3d_shaderprog_run @ 2517

Revision 2517, 2.3 KB checked in by igarcia, 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
Note: See TracBrowser for help on using the repository browser.