[2024] | 1 | material GTP/Particles/SpriteShader
|
---|
| 2 | {
|
---|
| 3 | technique
|
---|
| 4 | {
|
---|
| 5 | pass
|
---|
| 6 | {
|
---|
| 7 | cull_hardware none
|
---|
| 8 | depth_check off
|
---|
| 9 | scene_blend add
|
---|
| 10 | depth_write off
|
---|
| 11 | vertex_program_ref GTP/Particles/SpriteVS
|
---|
| 12 | {
|
---|
| 13 | param_named_auto worldView worldview_matrix
|
---|
| 14 | param_named_auto Proj projection_matrix
|
---|
| 15 | }
|
---|
| 16 | fragment_program_ref GTP/Particles/SpritePS
|
---|
| 17 | {
|
---|
| 18 |
|
---|
| 19 | }
|
---|
| 20 | texture_unit
|
---|
| 21 | {
|
---|
| 22 | texture flare.png
|
---|
| 23 | }
|
---|
| 24 | }
|
---|
| 25 | }
|
---|
| 26 | }
|
---|
| 27 |
|
---|
| 28 |
|
---|
| 29 | material GTP/SBB/Basic
|
---|
| 30 | {
|
---|
| 31 | technique
|
---|
| 32 | {
|
---|
[2054] | 33 | pass
|
---|
[2024] | 34 | {
|
---|
[2054] | 35 | IllumTechniques
|
---|
| 36 | {
|
---|
[2024] | 37 | RenderTechnique SphericalBillboard
|
---|
[2054] | 38 | {
|
---|
[2024] | 39 | texture_unit_id 1
|
---|
[2054] | 40 | }
|
---|
| 41 | }
|
---|
| 42 | scene_blend src_alpha one
|
---|
| 43 | //scene_blend src_alpha one_minus_src_alpha
|
---|
| 44 | depth_write off
|
---|
| 45 | depth_check off
|
---|
| 46 | vertex_program_ref GTP/Particles/SB_Sprite_VS
|
---|
| 47 | {
|
---|
| 48 | param_named_auto worldView worldview_matrix
|
---|
| 49 | param_named_auto Proj projection_matrix
|
---|
| 50 | param_named_auto width viewport_width
|
---|
| 51 | param_named_auto height viewport_height
|
---|
| 52 | }
|
---|
| 53 | fragment_program_ref GTP/Particles/SB_Sprite_PS
|
---|
| 54 | {
|
---|
| 55 | param_named_auto farplane far_clip_distance
|
---|
| 56 | param_named_auto nearplane near_clip_distance
|
---|
[2429] | 57 | param_named color float4 1 1 1 0.025
|
---|
[2054] | 58 | }
|
---|
| 59 | texture_unit
|
---|
| 60 | {
|
---|
| 61 | anim_texture smokealpha.tga 32 2.0
|
---|
| 62 | //texture flare.png
|
---|
| 63 | }
|
---|
| 64 | //scene depth texture
|
---|
| 65 | texture_unit
|
---|
| 66 | {
|
---|
| 67 | filtering none
|
---|
| 68 | }
|
---|
| 69 | texture_unit
|
---|
| 70 | {
|
---|
| 71 | texture planck.tga
|
---|
| 72 | }
|
---|
[2024] | 73 | }
|
---|
| 74 | }
|
---|
| 75 | }
|
---|
| 76 |
|
---|
[2425] | 77 | material GTP/SBB/Illum
|
---|
| 78 | {
|
---|
| 79 | technique
|
---|
| 80 | {
|
---|
| 81 | pass
|
---|
| 82 | {
|
---|
| 83 | IllumTechniques
|
---|
| 84 | {
|
---|
| 85 | RenderTechnique SphericalBillboard
|
---|
| 86 | {
|
---|
| 87 | texture_unit_id 1
|
---|
| 88 | }
|
---|
| 89 | RenderTechnique IllumVolume
|
---|
| 90 | {
|
---|
| 91 | material GTP/HPS/Smoke_IllumVolume
|
---|
| 92 | update_interval 1
|
---|
| 93 | texture_unit_id 2
|
---|
| 94 | resolution 128
|
---|
| 95 | lightmatrix_param_name lightViewProj
|
---|
| 96 | }
|
---|
| 97 | }
|
---|
| 98 | //scene_blend src_alpha one
|
---|
| 99 | scene_blend src_alpha one_minus_src_alpha
|
---|
| 100 | depth_write off
|
---|
| 101 | depth_check off
|
---|
| 102 | vertex_program_ref GTP/Particles/SBB_Illum_VS
|
---|
| 103 | {
|
---|
| 104 | param_named_auto worldView worldview_matrix
|
---|
| 105 | param_named_auto worldViewInv inverse_worldview_matrix
|
---|
| 106 | param_named_auto Proj projection_matrix
|
---|
| 107 | param_named_auto width viewport_width
|
---|
| 108 | param_named_auto height viewport_height
|
---|
| 109 | }
|
---|
| 110 | fragment_program_ref GTP/Particles/SBB_Illum_PS
|
---|
| 111 | {
|
---|
| 112 | param_named_auto farplane far_clip_distance
|
---|
| 113 | param_named_auto nearplane near_clip_distance
|
---|
[2429] | 114 | param_named color float4 1 1 1 0.1
|
---|
[2425] | 115 | }
|
---|
| 116 | texture_unit
|
---|
| 117 | {
|
---|
| 118 | anim_texture smokealpha.tga 32 2.0
|
---|
| 119 | //texture flare.png
|
---|
| 120 | }
|
---|
| 121 | //scene depth texture
|
---|
| 122 | texture_unit
|
---|
| 123 | {
|
---|
| 124 | filtering none
|
---|
| 125 | }
|
---|
| 126 | texture_unit
|
---|
| 127 | {
|
---|
| 128 |
|
---|
| 129 | }
|
---|
| 130 | }
|
---|
| 131 | }
|
---|
| 132 | }
|
---|
| 133 |
|
---|
[2024] | 134 | material GTP/HPS/Smoke_S
|
---|
| 135 | {
|
---|
| 136 | technique
|
---|
| 137 | {
|
---|
| 138 | pass
|
---|
| 139 | {
|
---|
| 140 | depth_check off
|
---|
| 141 | scene_blend_op max
|
---|
| 142 | scene_blend_op_alpha add
|
---|
| 143 | scene_blend_alpha one one_minus_src_alpha
|
---|
| 144 | vertex_program_ref GTP/HPS/Small_VS
|
---|
| 145 | {
|
---|
| 146 | param_named_auto worldView worldview_matrix
|
---|
| 147 | param_named_auto Proj projection_matrix
|
---|
| 148 | }
|
---|
| 149 | fragment_program_ref GTP/HPS/Small_PS
|
---|
| 150 | {
|
---|
| 151 | param_named_auto Proj projection_matrix
|
---|
| 152 | }
|
---|
| 153 | texture_unit
|
---|
| 154 | {
|
---|
| 155 | texture smoke2.jpg
|
---|
| 156 | }
|
---|
| 157 | }
|
---|
| 158 | }
|
---|
| 159 | }
|
---|
| 160 |
|
---|
| 161 | material GTP/HPS/Smoke_L
|
---|
| 162 | {
|
---|
| 163 | technique
|
---|
| 164 | {
|
---|
| 165 | pass
|
---|
| 166 | {
|
---|
| 167 | IllumTechniques
|
---|
| 168 | {
|
---|
| 169 | RenderTechnique HPS
|
---|
| 170 | {
|
---|
| 171 | particle_script GTP/HPS/Smoke_Little
|
---|
| 172 | perspective false
|
---|
| 173 | vparam_radius baseRadius
|
---|
| 174 | }
|
---|
| 175 | }
|
---|
| 176 | depth_check off
|
---|
| 177 | scene_blend alpha_blend
|
---|
| 178 | vertex_program_ref GTP/HPS/Large_VS
|
---|
| 179 | {
|
---|
| 180 | param_named_auto worldView worldview_matrix
|
---|
| 181 | param_named_auto Proj projection_matrix
|
---|
| 182 | }
|
---|
| 183 | fragment_program_ref GTP/HPS/Large_PS
|
---|
| 184 | {
|
---|
| 185 |
|
---|
| 186 | }
|
---|
| 187 | //impostor texture
|
---|
| 188 | texture_unit
|
---|
| 189 | {
|
---|
| 190 |
|
---|
| 191 | }
|
---|
| 192 | }
|
---|
| 193 | }
|
---|
| 194 | }
|
---|
| 195 |
|
---|
| 196 | material GTP/HPS/Smoke_L_Depth
|
---|
| 197 | {
|
---|
| 198 | technique
|
---|
| 199 | {
|
---|
| 200 | pass
|
---|
| 201 | {
|
---|
| 202 | IllumTechniques
|
---|
| 203 | {
|
---|
| 204 | RenderTechnique HPS
|
---|
| 205 | {
|
---|
| 206 | particle_script GTP/HPS/Smoke_Little
|
---|
| 207 | perspective false
|
---|
| 208 | vparam_radius baseRadius
|
---|
| 209 | update_interval 1
|
---|
| 210 | }
|
---|
| 211 | RenderTechnique SphericalBillboard
|
---|
| 212 | {
|
---|
| 213 | texture_unit_id 1
|
---|
| 214 | }
|
---|
| 215 | }
|
---|
| 216 | depth_check off
|
---|
| 217 | depth_write off
|
---|
| 218 | scene_blend alpha_blend
|
---|
| 219 | vertex_program_ref GTP/HPS/Large_Depth_VS
|
---|
| 220 | {
|
---|
| 221 | param_named_auto worldView worldview_matrix
|
---|
| 222 | param_named_auto Proj projection_matrix
|
---|
| 223 | }
|
---|
| 224 | fragment_program_ref GTP/HPS/Large_Depth_PS
|
---|
| 225 | {
|
---|
| 226 | param_named_auto farplane far_clip_distance
|
---|
[2425] | 227 | param_named_auto nearplane near_clip_distance
|
---|
| 228 | param_named color float4 1 1 1 0.5
|
---|
[2024] | 229 | }
|
---|
| 230 | //impostor texture
|
---|
| 231 | texture_unit
|
---|
| 232 | {
|
---|
| 233 | //filtering none
|
---|
| 234 | }
|
---|
| 235 | //scene depth texture
|
---|
| 236 | texture_unit
|
---|
| 237 | {
|
---|
| 238 | filtering none
|
---|
| 239 | }
|
---|
| 240 | }
|
---|
| 241 | }
|
---|
| 242 | }
|
---|
| 243 |
|
---|
| 244 | material GTP/HPS/Smoke_L_Depth_Illum
|
---|
| 245 | {
|
---|
| 246 | technique
|
---|
| 247 | {
|
---|
| 248 | pass
|
---|
| 249 | {
|
---|
| 250 | IllumTechniques
|
---|
| 251 | {
|
---|
| 252 | RenderTechnique HPS
|
---|
| 253 | {
|
---|
| 254 | particle_script GTP/HPS/Smoke_Little
|
---|
| 255 | perspective false
|
---|
| 256 | vparam_radius baseRadius
|
---|
| 257 | update_interval 1
|
---|
| 258 | }
|
---|
| 259 | RenderTechnique SphericalBillboard
|
---|
| 260 | {
|
---|
| 261 | texture_unit_id 1
|
---|
| 262 | }
|
---|
| 263 | RenderTechnique IllumVolume
|
---|
| 264 | {
|
---|
| 265 | material GTP/HPS/Smoke_IllumVolume
|
---|
| 266 | update_interval 1
|
---|
| 267 | texture_unit_id 2
|
---|
| 268 | resolution 128
|
---|
| 269 | lightmatrix_param_name lightViewProj
|
---|
| 270 | }
|
---|
| 271 | }
|
---|
| 272 | depth_check off
|
---|
| 273 | depth_write off
|
---|
| 274 | scene_blend alpha_blend
|
---|
| 275 | vertex_program_ref GTP/HPS/Large_Depth_Illum_VS
|
---|
| 276 | {
|
---|
| 277 | param_named_auto worldView worldview_matrix
|
---|
| 278 | param_named_auto worldViewInv inverse_worldview_matrix
|
---|
| 279 | param_named_auto Proj projection_matrix
|
---|
| 280 | param_named_auto width viewport_width
|
---|
| 281 | param_named_auto height viewport_height
|
---|
| 282 | param_named baseRadius float 1
|
---|
| 283 | }
|
---|
| 284 | fragment_program_ref GTP/HPS/Large_Depth_Illum_PS
|
---|
| 285 | {
|
---|
[2328] | 286 | param_named_auto nearplane near_clip_distance
|
---|
[2024] | 287 | }
|
---|
| 288 | //impostor texture
|
---|
| 289 | texture_unit
|
---|
| 290 | {
|
---|
| 291 | //filtering none
|
---|
| 292 | }
|
---|
| 293 | //scene depth texture
|
---|
| 294 | texture_unit
|
---|
| 295 | {
|
---|
| 296 | filtering none
|
---|
| 297 | }
|
---|
| 298 | //Ilumination volume
|
---|
| 299 | texture_unit
|
---|
| 300 | {
|
---|
| 301 | //filtering none
|
---|
| 302 | }
|
---|
| 303 | }
|
---|
| 304 | }
|
---|
| 305 | }
|
---|
| 306 |
|
---|
[2328] | 307 |
|
---|
| 308 |
|
---|
[2024] | 309 | material GTP/HPS/Smoke_IllumVolume
|
---|
| 310 | {
|
---|
| 311 | technique
|
---|
| 312 | {
|
---|
| 313 | pass
|
---|
| 314 | {
|
---|
| 315 | cull_hardware none
|
---|
| 316 | cull_software none
|
---|
| 317 | lighting off
|
---|
| 318 | scene_blend zero one_minus_src_colour
|
---|
| 319 | depth_write off
|
---|
| 320 |
|
---|
| 321 | vertex_program_ref GTP/HPS/IllumVolume_VS
|
---|
| 322 | {
|
---|
| 323 | param_named_auto worldView worldview_matrix
|
---|
| 324 | param_named_auto Proj projection_matrix
|
---|
| 325 | }
|
---|
| 326 | fragment_program_ref GTP/HPS/IllumVolume_PS
|
---|
| 327 | {
|
---|
[2429] | 328 | //param_named density float 0.005
|
---|
| 329 | param_named density float 0.5
|
---|
[2024] | 330 | }
|
---|
| 331 | texture_unit
|
---|
| 332 | {
|
---|
| 333 | texture pamacs.dds
|
---|
| 334 | }
|
---|
| 335 | }
|
---|
| 336 | }
|
---|
| 337 | } |
---|