source: GTP/trunk/App/Demos/Illum/Ogre/Media/materials/scripts/GameTools_HPS.material @ 1355

Revision 1355, 1.7 KB checked in by szirmay, 18 years ago (diff)
Line 
1vertex_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
8fragment_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
17material 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                        texture_unit
35                        {
36                                texture pamacs.dds
37                        }
38                       
39                        depth_check off
40                        scene_blend_op max
41                        scene_blend_op_alpha add
42                        scene_blend_alpha one one_minus_src_alpha
43
44                }
45        }
46}
47
48
49vertex_program HPS_Smoke_L_VS hlsl
50{
51        source GameTools_HPS_Smoke_L.hlsl
52        entry_point HPS_Smoke_L_VS
53        target vs_3_0
54}
55
56fragment_program HPS_Smoke_L_PS hlsl
57{
58        source GameTools_HPS_Smoke_L.hlsl
59        entry_point HPS_Smoke_L_PS
60        target ps_3_0
61}
62
63
64
65material HPS_SMOKE_L
66{
67        technique
68        {
69                pass
70                {       
71                        IllumTechniques
72                        {
73                                RenderTechnique HPS
74                                {
75                                        particle_script GameTools/Little
76                                        perspective false
77                                }                       
78                        }
79                               
80                        vertex_program_ref HPS_Smoke_L_VS
81                        {       
82                                param_named_auto worldViewProj worldviewproj_matrix
83                                param_named_auto worldView worldview_matrix
84                                param_named_auto Proj projection_matrix     
85                        }
86                        fragment_program_ref  HPS_Smoke_L_PS
87                        {
88                                param_named_auto Proj projection_matrix
89                        }
90                       
91                        depth_check off                 
92                        scene_blend alpha_blend
93                       
94                        texture_unit
95                        {
96                               
97                        }
98
99                }
100        }
101}
102
103
104
Note: See TracBrowser for help on using the repository browser.