Line | |
---|
1 | material GTP/Station/Smoke_L_Depth_Illum
|
---|
2 | {
|
---|
3 | technique
|
---|
4 | {
|
---|
5 | pass
|
---|
6 | {
|
---|
7 | IllumTechniques
|
---|
8 | {
|
---|
9 | RenderTechnique HPS
|
---|
10 | {
|
---|
11 | particle_script GTP/Station/Smoke_Little
|
---|
12 | perspective false
|
---|
13 | vparam_radius baseRadius
|
---|
14 | update_interval 1
|
---|
15 | }
|
---|
16 | RenderTechnique SphericalBillboard
|
---|
17 | {
|
---|
18 | texture_unit_id 1
|
---|
19 | }
|
---|
20 | RenderTechnique IllumVolume
|
---|
21 | {
|
---|
22 | material GTP/Station/Smoke_IllumVolume
|
---|
23 | update_interval 1
|
---|
24 | texture_unit_id 2
|
---|
25 | resolution 128
|
---|
26 | lightmatrix_param_name lightViewProj
|
---|
27 | }
|
---|
28 | }
|
---|
29 | depth_check off
|
---|
30 | depth_write off
|
---|
31 | scene_blend alpha_blend
|
---|
32 | vertex_program_ref GTP/HPS/Large_Depth_Illum_VS
|
---|
33 | {
|
---|
34 | param_named_auto worldView worldview_matrix
|
---|
35 | param_named_auto worldViewInv inverse_worldview_matrix
|
---|
36 | param_named_auto Proj projection_matrix
|
---|
37 | param_named_auto width viewport_width
|
---|
38 | param_named_auto height viewport_height
|
---|
39 | param_named baseRadius float 1
|
---|
40 | }
|
---|
41 | fragment_program_ref GTP/HPS/Large_Depth_Illum_PS
|
---|
42 | {
|
---|
43 | param_named_auto nearplane near_clip_distance
|
---|
44 | }
|
---|
45 | //impostor texture
|
---|
46 | texture_unit
|
---|
47 | {
|
---|
48 | //filtering none
|
---|
49 | }
|
---|
50 | //scene depth texture
|
---|
51 | texture_unit
|
---|
52 | {
|
---|
53 | filtering none
|
---|
54 | }
|
---|
55 | //Ilumination volume
|
---|
56 | texture_unit
|
---|
57 | {
|
---|
58 | //filtering none
|
---|
59 | }
|
---|
60 | }
|
---|
61 | }
|
---|
62 | }
|
---|
63 |
|
---|
64 | material GTP/Station/Smoke_IllumVolume
|
---|
65 | {
|
---|
66 | technique
|
---|
67 | {
|
---|
68 | pass
|
---|
69 | {
|
---|
70 | cull_hardware none
|
---|
71 | cull_software none
|
---|
72 | lighting off
|
---|
73 | scene_blend zero one_minus_src_colour
|
---|
74 | depth_write off
|
---|
75 |
|
---|
76 | vertex_program_ref GTP/HPS/IllumVolume_VS
|
---|
77 | {
|
---|
78 | param_named_auto worldView worldview_matrix
|
---|
79 | param_named_auto Proj projection_matrix
|
---|
80 | }
|
---|
81 | fragment_program_ref GTP/HPS/IllumVolume_PS
|
---|
82 | {
|
---|
83 | //param_named density float 0.005
|
---|
84 | param_named density float 0.1
|
---|
85 | }
|
---|
86 | texture_unit
|
---|
87 | {
|
---|
88 | texture pamacs.dds
|
---|
89 | }
|
---|
90 | }
|
---|
91 | }
|
---|
92 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.