source: GTP/branches/IllumWPdeliver2008dec/IlluminationWP/demos/OgreDemos/media/MORIA/Fire.material @ 3255

Revision 3255, 1.3 KB checked in by szirmay, 15 years ago (diff)
Line 
1vertex_program FireVS hlsl
2{
3        source Fire.hlsl
4        entry_point FireVS
5        target vs_2_0
6}
7
8fragment_program FirePS hlsl
9{
10        source Fire.hlsl
11        entry_point FirePS
12        target ps_3_0
13}
14
15material Fire
16{
17
18   technique
19   {
20        pass
21      {
22                        IllumTechniques
23                        {
24                                RenderTechnique Fire
25                                {
26                                        texture_unit_id 1
27                                }
28                        }
29                       
30                        lighting off
31                       
32                        scene_blend src_alpha one
33                        scene_blend_alpha zero one
34                        //scene_blend src_alpha one_minus_src_alpha
35                        depth_write off
36                        depth_check off
37                       
38                        vertex_program_ref FireVS
39                        {       
40                                param_named_auto worldViewProj worldviewproj_matrix
41                                param_named_auto worldView worldview_matrix
42                                param_named_auto Proj projection_matrix
43                                param_named_auto width viewport_width   
44                                param_named_auto height viewport_height                             
45                        }
46                        fragment_program_ref  FirePS
47                        {
48                                param_named_auto farplane far_clip_distance       
49                                param_named_auto nearplane near_clip_distance
50                                param_named_auto frametime frame_time 1.0                         
51                        }
52
53                        texture_unit
54                        {
55                                anim_texture smokealpha.tga 32 2.0
56                                //texture flare.png
57                        }
58
59                        texture_unit
60                        {
61                                filtering none
62                        }
63                       
64                        texture_unit
65                        {
66                                texture planck.tga
67                        }
68                        texture_unit
69                        {
70                                texture heatnoise2.tga
71                        }
72                        texture_unit
73                        {
74                                texture noise.tga
75                        }
76
77       }
78    }
79}
Note: See TracBrowser for help on using the repository browser.