Line | |
---|
1 | material GameTools/SpriteShader
|
---|
2 | {
|
---|
3 |
|
---|
4 | technique
|
---|
5 | {
|
---|
6 | pass
|
---|
7 | {
|
---|
8 |
|
---|
9 | cull_hardware none
|
---|
10 | cull_software none
|
---|
11 | lighting off
|
---|
12 | scene_blend add
|
---|
13 | depth_write off
|
---|
14 |
|
---|
15 | vertex_program_ref GameTools/SpriteVS
|
---|
16 | {
|
---|
17 | param_named_auto worldViewProj worldviewproj_matrix
|
---|
18 | param_named_auto worldView worldview_matrix
|
---|
19 | param_named_auto Proj projection_matrix
|
---|
20 | }
|
---|
21 | fragment_program_ref GameTools/SpritePS
|
---|
22 | {
|
---|
23 |
|
---|
24 | }
|
---|
25 |
|
---|
26 | texture_unit
|
---|
27 | {
|
---|
28 | texture flare.png
|
---|
29 | }
|
---|
30 |
|
---|
31 | }
|
---|
32 | }
|
---|
33 | }
|
---|
34 |
|
---|
35 |
|
---|
36 | material GameTools/SBB
|
---|
37 | {
|
---|
38 |
|
---|
39 | technique
|
---|
40 | {
|
---|
41 | pass
|
---|
42 | {
|
---|
43 | lighting off
|
---|
44 |
|
---|
45 | scene_blend src_alpha one
|
---|
46 | //scene_blend src_alpha one_minus_src_alpha
|
---|
47 | depth_write off
|
---|
48 | depth_check off
|
---|
49 |
|
---|
50 | vertex_program_ref GameTools/SBBVS
|
---|
51 | {
|
---|
52 | param_named_auto worldViewProj worldviewproj_matrix
|
---|
53 | param_named_auto worldView worldview_matrix
|
---|
54 | param_named_auto Proj projection_matrix
|
---|
55 | param_named_auto width viewport_width
|
---|
56 | param_named_auto height viewport_height
|
---|
57 |
|
---|
58 |
|
---|
59 | }
|
---|
60 | fragment_program_ref GameTools/SBBPS
|
---|
61 | {
|
---|
62 | param_named_auto farplane far_clip_distance
|
---|
63 | param_named_auto nearplane near_clip_distance
|
---|
64 |
|
---|
65 | }
|
---|
66 |
|
---|
67 | texture_unit
|
---|
68 | {
|
---|
69 | anim_texture smokealpha.tga 32 2.0
|
---|
70 | //texture flare.png
|
---|
71 | }
|
---|
72 |
|
---|
73 | texture_unit
|
---|
74 | {
|
---|
75 | filtering none
|
---|
76 | }
|
---|
77 |
|
---|
78 | texture_unit
|
---|
79 | {
|
---|
80 | texture planck.tga
|
---|
81 | }
|
---|
82 |
|
---|
83 | }
|
---|
84 | }
|
---|
85 | }
|
---|
86 |
|
---|
87 | material GameTools/HPS
|
---|
88 | {
|
---|
89 |
|
---|
90 | technique
|
---|
91 | {
|
---|
92 | pass
|
---|
93 | {
|
---|
94 | IllumTechniques
|
---|
95 | {
|
---|
96 | RenderTechnique HPS
|
---|
97 | {
|
---|
98 | particle_script GameTools/Little
|
---|
99 | }
|
---|
100 | }
|
---|
101 |
|
---|
102 | scene_blend add
|
---|
103 |
|
---|
104 | lighting off
|
---|
105 | depth_check off
|
---|
106 |
|
---|
107 | texture_unit
|
---|
108 | {
|
---|
109 | texture
|
---|
110 | }
|
---|
111 |
|
---|
112 |
|
---|
113 | }
|
---|
114 | }
|
---|
115 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.