1 | vertex_program HPS_Smoke_S_VS hlsl
|
---|
2 | {
|
---|
3 | source GameTools_HPS_Smoke_S.hlsl
|
---|
4 | entry_point HPS_Smoke_S_VS
|
---|
5 | target vs_3_0
|
---|
6 | }
|
---|
7 |
|
---|
8 | fragment_program HPS_Smoke_S_PS hlsl
|
---|
9 | {
|
---|
10 | source GameTools_HPS_Smoke_S.hlsl
|
---|
11 | entry_point HPS_Smoke_S_PS
|
---|
12 | target ps_3_0
|
---|
13 | }
|
---|
14 |
|
---|
15 |
|
---|
16 |
|
---|
17 | material HPS_SMOKE_S
|
---|
18 | {
|
---|
19 | technique
|
---|
20 | {
|
---|
21 | pass
|
---|
22 | {
|
---|
23 | vertex_program_ref HPS_Smoke_S_VS
|
---|
24 | {
|
---|
25 | param_named_auto worldViewProj worldviewproj_matrix
|
---|
26 | param_named_auto worldView worldview_matrix
|
---|
27 | param_named_auto Proj projection_matrix
|
---|
28 | }
|
---|
29 | fragment_program_ref HPS_Smoke_S_PS
|
---|
30 | {
|
---|
31 | param_named_auto Proj projection_matrix
|
---|
32 | }
|
---|
33 |
|
---|
34 | depth_check off
|
---|
35 | //scene_blend_op min
|
---|
36 | //scene_blend_op_alpha add
|
---|
37 | scene_blend one one
|
---|
38 |
|
---|
39 | }
|
---|
40 | }
|
---|
41 | }
|
---|
42 |
|
---|
43 |
|
---|
44 | vertex_program HPS_Smoke_L_VS hlsl
|
---|
45 | {
|
---|
46 | source GameTools_HPS_Smoke_L.hlsl
|
---|
47 | entry_point HPS_Smoke_L_VS
|
---|
48 | target vs_3_0
|
---|
49 | }
|
---|
50 |
|
---|
51 | fragment_program HPS_Smoke_L_PS hlsl
|
---|
52 | {
|
---|
53 | source GameTools_HPS_Smoke_L.hlsl
|
---|
54 | entry_point HPS_Smoke_L_PS
|
---|
55 | target ps_3_0
|
---|
56 | }
|
---|
57 |
|
---|
58 |
|
---|
59 |
|
---|
60 | material HPS_SMOKE_L
|
---|
61 | {
|
---|
62 | technique
|
---|
63 | {
|
---|
64 | pass
|
---|
65 | {
|
---|
66 | IllumTechniques
|
---|
67 | {
|
---|
68 | RenderTechnique HPS
|
---|
69 | {
|
---|
70 | particle_script GameTools/Little
|
---|
71 | perspective false
|
---|
72 | }
|
---|
73 | }
|
---|
74 |
|
---|
75 | vertex_program_ref HPS_Smoke_L_VS
|
---|
76 | {
|
---|
77 | param_named_auto worldViewProj worldviewproj_matrix
|
---|
78 | param_named_auto worldView worldview_matrix
|
---|
79 | param_named_auto Proj projection_matrix
|
---|
80 | }
|
---|
81 | fragment_program_ref HPS_Smoke_L_PS
|
---|
82 | {
|
---|
83 | param_named_auto Proj projection_matrix
|
---|
84 | }
|
---|
85 |
|
---|
86 | //depth_check off
|
---|
87 | //scene_blend_alpha add
|
---|
88 |
|
---|
89 | texture_unit
|
---|
90 | {
|
---|
91 |
|
---|
92 | }
|
---|
93 |
|
---|
94 | }
|
---|
95 | }
|
---|
96 | }
|
---|
97 |
|
---|
98 |
|
---|
99 |
|
---|