source: GTP/trunk/App/Demos/Illum/IBRBillboardCloudTrees/Shark3D/demo_v5x0x7_t164x31u_enterpr_kwin32/src/res/levelutil/shader/prog/lightfilter.s3d_shaderprog @ 2330

Revision 2330, 2.2 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                        & "lightfilter_ogl_glsl_vs1x0.s3d_shadercode_run"
25            }
26        }
27
28        fragshader
29        {
30            code_variant_array
31            {
32                req_ver "1x0"
33                code_array "levelutil/shader/prog/ogl_glsl/"
34                        & "lightfilter_ogl_glsl_fs1x0.s3d_shadercode_run"
35            }
36
37            predefine_array
38        }
39
40        param_array
41        {
42            src_progvar "prog_passinfo"
43            dest_codevar "passInfo"
44            type "float4"
45        }
46
47        tex_rcpsize_codevar_array "tex0RcpSize"
48
49        sampler_array "brightTex"
50    }
51}
52
53d3d9
54{
55    hlsl_vertshader
56    {
57        code_variant_array
58        {
59            profile "2x0"
60            entry_point "main"
61            code "levelutil/shader/prog/d3d9_hlsl/"
62                    & "lightfilter_d3d9_hlsl_vs2x0.s3d_shadercode_run"
63        }
64
65        tracking
66        {
67            codevar "matProjView"
68            slot 0
69            chan "projview"
70            trans "identity"
71        }
72
73        param_array
74        {
75            src_progvar "prog_passinfo"
76            dest_codevar "passInfo"
77            type "float4"
78        }
79
80        tex_rcpsize_codevar_array "tex0RcpSize"
81    }
82
83    hlsl_pixshader
84    {
85        code_variant_array
86        {
87            profile "2x0"
88            entry_point "main"
89            code "levelutil/shader/prog/d3d9_hlsl/"
90                    & "lightfilter_d3d9_hlsl_ps2x0.s3d_shadercode_run"
91        }
92
93        param_array
94       
95        predefine_array
96    }
97}
98
Note: See TracBrowser for help on using the repository browser.