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