[2196] | 1 | // Machine-made Shark 3D Snake Text 2x0 Stream. Format: ascii.
|
---|
| 2 | shader_array
|
---|
| 3 | {
|
---|
| 4 | name "bloom"
|
---|
| 5 | ident "eng_shader_std.group"
|
---|
| 6 | param
|
---|
| 7 | {
|
---|
| 8 | env "shaderenv"
|
---|
| 9 | init_method "init_method"
|
---|
| 10 | child_array
|
---|
| 11 | {
|
---|
| 12 | ident "eng_shader_std.regionenter"
|
---|
| 13 | param
|
---|
| 14 | {
|
---|
| 15 | env "shaderenv"
|
---|
| 16 | insp_ident "insp_shader_bound"
|
---|
| 17 | insp_methods "init_method"
|
---|
| 18 | insp_rank 80000
|
---|
| 19 | insp_color 1.0 0.0 0.0
|
---|
| 20 | enter_array
|
---|
| 21 | {
|
---|
| 22 | triggers "main_trigger"
|
---|
| 23 | method "main_method"
|
---|
| 24 | }
|
---|
| 25 | }
|
---|
| 26 | }
|
---|
| 27 | {
|
---|
| 28 | ident "eng_shader_std.bundle"
|
---|
| 29 | param
|
---|
| 30 | {
|
---|
| 31 | env "shaderenv"
|
---|
| 32 | methods "main_method"
|
---|
| 33 | rank 35010
|
---|
| 34 | new_method "bundle_method"
|
---|
| 35 | }
|
---|
| 36 | }
|
---|
| 37 | {
|
---|
| 38 | ident "eng_shader_std.redirect"
|
---|
| 39 | param
|
---|
| 40 | {
|
---|
| 41 | env "shaderenv"
|
---|
| 42 | register_methods "main_method"
|
---|
| 43 | register_rank -90000
|
---|
| 44 | close_methods "bundle_method"
|
---|
| 45 | close_rank 90000
|
---|
| 46 | open_methods "bundle_method"
|
---|
| 47 | open_rank 90030
|
---|
| 48 | destprop_antialias 0
|
---|
| 49 | dest_array
|
---|
| 50 | {
|
---|
| 51 | from_var ""
|
---|
| 52 | to_var "screentex"
|
---|
| 53 | texprop_restrusage 0
|
---|
| 54 | texprop_depth 0
|
---|
| 55 | texprop_comp 4
|
---|
| 56 | texprop_float 0
|
---|
| 57 | samplermode_filter 0
|
---|
| 58 | samplermode_clamp 1
|
---|
| 59 | }
|
---|
| 60 | }
|
---|
| 61 | }
|
---|
| 62 | {
|
---|
| 63 | ident "eng_shader_special.filter"
|
---|
| 64 | param
|
---|
| 65 | {
|
---|
| 66 | env "shaderenv"
|
---|
| 67 | methods "bundle_method"
|
---|
| 68 | rank 90010
|
---|
| 69 | iter_start 0
|
---|
| 70 | iter_end 0
|
---|
| 71 | iter_step 0
|
---|
| 72 | width_scale 0.5
|
---|
| 73 | height_scale 0.5
|
---|
| 74 | destprop_antialias 0
|
---|
| 75 | passinfo_var "passinfo"
|
---|
| 76 | src_array "screentex"
|
---|
| 77 | dest_array
|
---|
| 78 | {
|
---|
| 79 | from_var ""
|
---|
| 80 | to_var "brightsmooth"
|
---|
| 81 | texprop_restrusage 0
|
---|
| 82 | texprop_depth 0
|
---|
| 83 | texprop_comp 4
|
---|
| 84 | texprop_float 0
|
---|
| 85 | samplermode_filter 1
|
---|
| 86 | samplermode_clamp 1
|
---|
| 87 | }
|
---|
| 88 | shaderprog_ident
|
---|
| 89 | "levelutil/shader/prog/bloom_bright.s3d_shaderprog_run"
|
---|
| 90 | shaderprog_param_array
|
---|
| 91 | {
|
---|
| 92 | src_var "passinfo"
|
---|
| 93 | dest_progvar "prog_passinfo"
|
---|
| 94 | }
|
---|
| 95 | }
|
---|
| 96 | }
|
---|
| 97 | {
|
---|
| 98 | ident "eng_shader_special.filter"
|
---|
| 99 | param
|
---|
| 100 | {
|
---|
| 101 | env "shaderenv"
|
---|
| 102 | methods "bundle_method"
|
---|
| 103 | rank 90020
|
---|
| 104 | iter_start 4
|
---|
| 105 | iter_end 0
|
---|
| 106 | iter_step -1
|
---|
| 107 | width_scale 1.0
|
---|
| 108 | height_scale 1.0
|
---|
| 109 | destprop_antialias 0
|
---|
| 110 | passinfo_var "passinfo"
|
---|
| 111 | src_array "brightsmooth"
|
---|
| 112 | dest_array
|
---|
| 113 | {
|
---|
| 114 | from_var ""
|
---|
| 115 | to_var "brightsmooth"
|
---|
| 116 | texprop_restrusage 0
|
---|
| 117 | texprop_depth 0
|
---|
| 118 | texprop_comp 4
|
---|
| 119 | texprop_float 0
|
---|
| 120 | samplermode_filter 1
|
---|
| 121 | samplermode_clamp 1
|
---|
| 122 | }
|
---|
| 123 | shaderprog_ident
|
---|
| 124 | "levelutil/shader/prog/bloom_smooth.s3d_shaderprog_run"
|
---|
| 125 | shaderprog_param_array
|
---|
| 126 | {
|
---|
| 127 | src_var "passinfo"
|
---|
| 128 | dest_progvar "prog_passinfo"
|
---|
| 129 | }
|
---|
| 130 | }
|
---|
| 131 | }
|
---|
| 132 | {
|
---|
| 133 | ident "eng_shader_std.rectmesh"
|
---|
| 134 | param
|
---|
| 135 | {
|
---|
| 136 | env "shaderenv"
|
---|
| 137 | methods "bundle_method"
|
---|
| 138 | mesh_var "rectmesh"
|
---|
| 139 | attr_var "rectattr"
|
---|
| 140 | }
|
---|
| 141 | }
|
---|
| 142 | {
|
---|
| 143 | ident "eng_shader_std.paintmesh"
|
---|
| 144 | param
|
---|
| 145 | {
|
---|
| 146 | env "shaderenv"
|
---|
| 147 | methods "bundle_method"
|
---|
| 148 | rank 90040
|
---|
| 149 | cull_mode "back"
|
---|
| 150 | depth_test "always"
|
---|
| 151 | depth_write 0
|
---|
| 152 | mesh_var "rectmesh"
|
---|
| 153 | texchan_var_array "screentex" "brightsmooth"
|
---|
| 154 | tex_attr_var_array "rectattr"
|
---|
| 155 | attrmat_var_array ""
|
---|
| 156 | use_vertex_point 1
|
---|
| 157 | blend_col_src_fac "one"
|
---|
| 158 | blend_col_dest_fac "zero"
|
---|
| 159 | shaderprog_ident
|
---|
| 160 | "levelutil/shader/prog/bloom_combine.s3d_shaderprog_run"
|
---|
| 161 | shaderprog_param_array
|
---|
| 162 | {
|
---|
| 163 | src_var "passinfo"
|
---|
| 164 | dest_progvar "prog_passinfo"
|
---|
| 165 | }
|
---|
| 166 | }
|
---|
| 167 | }
|
---|
| 168 | }
|
---|
| 169 | }
|
---|
| 170 | {
|
---|
| 171 | name "tonemap"
|
---|
| 172 | ident "eng_shader_std.group"
|
---|
| 173 | param
|
---|
| 174 | {
|
---|
| 175 | env "shaderenv"
|
---|
| 176 | init_method "init_method"
|
---|
| 177 | child_array
|
---|
| 178 | {
|
---|
| 179 | ident "eng_shader_std.regionenter"
|
---|
| 180 | param
|
---|
| 181 | {
|
---|
| 182 | env "shaderenv"
|
---|
| 183 | insp_ident "insp_shader_bound"
|
---|
| 184 | insp_methods "init_method"
|
---|
| 185 | insp_rank 80000
|
---|
| 186 | insp_color 1.0 0.0 0.0
|
---|
| 187 | enter_array
|
---|
| 188 | }
|
---|
| 189 | }
|
---|
| 190 | {
|
---|
| 191 | ident "eng_shader_std.bundle"
|
---|
| 192 | param
|
---|
| 193 | {
|
---|
| 194 | env "shaderenv"
|
---|
| 195 | methods "main_method"
|
---|
| 196 | rank 35010
|
---|
| 197 | new_method "bundle_method"
|
---|
| 198 | }
|
---|
| 199 | }
|
---|
| 200 | {
|
---|
| 201 | ident "eng_shader_std.redirect"
|
---|
| 202 | param
|
---|
| 203 | {
|
---|
| 204 | env "shaderenv"
|
---|
| 205 | register_methods "main_method"
|
---|
| 206 | register_rank -95000
|
---|
| 207 | close_methods "bundle_method"
|
---|
| 208 | close_rank 90000
|
---|
| 209 | open_methods "bundle_method"
|
---|
| 210 | open_rank 90030
|
---|
| 211 | destprop_antialias 0
|
---|
| 212 | dest_array
|
---|
| 213 | {
|
---|
| 214 | from_var ""
|
---|
| 215 | to_var "screentex"
|
---|
| 216 | texprop_restrusage 0
|
---|
| 217 | texprop_depth 0
|
---|
| 218 | texprop_comp 4
|
---|
| 219 | texprop_float 0
|
---|
| 220 | samplermode_filter 0
|
---|
| 221 | samplermode_clamp 1
|
---|
| 222 | }
|
---|
| 223 | }
|
---|
| 224 | }
|
---|
| 225 | {
|
---|
| 226 | ident "eng_shader_special.filter"
|
---|
| 227 | param
|
---|
| 228 | {
|
---|
| 229 | env "shaderenv"
|
---|
| 230 | methods "bundle_method"
|
---|
| 231 | rank 90010
|
---|
| 232 | iter_start 0
|
---|
| 233 | iter_end 0
|
---|
| 234 | iter_step 0
|
---|
| 235 | width_scale 0.5
|
---|
| 236 | height_scale 0.5
|
---|
| 237 | destprop_antialias 0
|
---|
| 238 | passinfo_var "passinfo"
|
---|
| 239 | src_array "screentex"
|
---|
| 240 | dest_array
|
---|
| 241 | {
|
---|
| 242 | from_var ""
|
---|
| 243 | to_var "brightsmooth"
|
---|
| 244 | texprop_restrusage 0
|
---|
| 245 | texprop_depth 0
|
---|
| 246 | texprop_comp 4
|
---|
| 247 | texprop_float 0
|
---|
| 248 | samplermode_filter 1
|
---|
| 249 | samplermode_clamp 1
|
---|
| 250 | }
|
---|
| 251 | shaderprog_ident
|
---|
| 252 | "levelutil/shader/prog/bloom_bright.s3d_shaderprog_run"
|
---|
| 253 | shaderprog_param_array
|
---|
| 254 | {
|
---|
| 255 | src_var "passinfo"
|
---|
| 256 | dest_progvar "prog_passinfo"
|
---|
| 257 | }
|
---|
| 258 | }
|
---|
| 259 | }
|
---|
| 260 | {
|
---|
| 261 | ident "eng_shader_special.filter"
|
---|
| 262 | param
|
---|
| 263 | {
|
---|
| 264 | env "shaderenv"
|
---|
| 265 | methods "bundle_method"
|
---|
| 266 | rank 90020
|
---|
| 267 | iter_start 4
|
---|
| 268 | iter_end 0
|
---|
| 269 | iter_step -1
|
---|
| 270 | width_scale 1.0
|
---|
| 271 | height_scale 1.0
|
---|
| 272 | destprop_antialias 0
|
---|
| 273 | passinfo_var "passinfo"
|
---|
| 274 | src_array "brightsmooth"
|
---|
| 275 | dest_array
|
---|
| 276 | {
|
---|
| 277 | from_var ""
|
---|
| 278 | to_var "brightsmooth"
|
---|
| 279 | texprop_restrusage 0
|
---|
| 280 | texprop_depth 0
|
---|
| 281 | texprop_comp 4
|
---|
| 282 | texprop_float 0
|
---|
| 283 | samplermode_filter 1
|
---|
| 284 | samplermode_clamp 1
|
---|
| 285 | }
|
---|
| 286 | shaderprog_ident
|
---|
| 287 | "levelutil/shader/prog/bloom_smooth.s3d_shaderprog_run"
|
---|
| 288 | shaderprog_param_array
|
---|
| 289 | {
|
---|
| 290 | src_var "passinfo"
|
---|
| 291 | dest_progvar "prog_passinfo"
|
---|
| 292 | }
|
---|
| 293 | }
|
---|
| 294 | }
|
---|
| 295 | {
|
---|
| 296 | ident "eng_shader_std.rectmesh"
|
---|
| 297 | param
|
---|
| 298 | {
|
---|
| 299 | env "shaderenv"
|
---|
| 300 | methods "bundle_method"
|
---|
| 301 | mesh_var "rectmesh"
|
---|
| 302 | attr_var "rectattr"
|
---|
| 303 | }
|
---|
| 304 | }
|
---|
| 305 | {
|
---|
| 306 | ident "eng_shader_std.paintmesh"
|
---|
| 307 | param
|
---|
| 308 | {
|
---|
| 309 | env "shaderenv"
|
---|
| 310 | methods "bundle_method"
|
---|
| 311 | rank 90040
|
---|
| 312 | cull_mode "back"
|
---|
| 313 | depth_test "always"
|
---|
| 314 | depth_write 0
|
---|
| 315 | mesh_var "rectmesh"
|
---|
| 316 | texchan_var_array "screentex" "brightsmooth"
|
---|
| 317 | tex_attr_var_array "rectattr"
|
---|
| 318 | attrmat_var_array ""
|
---|
| 319 | use_vertex_point 1
|
---|
| 320 | blend_col_src_fac "one"
|
---|
| 321 | blend_col_dest_fac "zero"
|
---|
| 322 | shaderprog_ident
|
---|
| 323 | "levelutil/shader/prog/bloom_combine.s3d_shaderprog_run"
|
---|
| 324 | shaderprog_param_array
|
---|
| 325 | {
|
---|
| 326 | src_var "passinfo"
|
---|
| 327 | dest_progvar "prog_passinfo"
|
---|
| 328 | }
|
---|
| 329 | }
|
---|
| 330 | }
|
---|
| 331 | }
|
---|
| 332 | }
|
---|
| 333 | $ |
---|