source: GTP/branches/IllumWPdeliver2008dec/IlluminationWP/demos/OgreGames/CarGame/Media/materials/scripts/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 src_alpha one_minus_src_alpha
34                        depth_write off
35                        depth_check off
36                       
37                        vertex_program_ref FireVS
38                        {       
39                                param_named_auto worldViewProj worldviewproj_matrix
40                                param_named_auto worldView worldview_matrix
41                                param_named_auto Proj projection_matrix
42                                param_named_auto width viewport_width   
43                                param_named_auto height viewport_height                             
44                        }
45                        fragment_program_ref  FirePS
46                        {
47                                param_named_auto farplane far_clip_distance       
48                                param_named_auto nearplane near_clip_distance                     
49                        }
50
51                        texture_unit
52                        {
53                                anim_texture smokealpha.tga 32 2.0
54                                //texture flare.png
55                        }
56
57                        texture_unit
58                        {
59                                filtering none
60                        }
61                       
62                        texture_unit
63                        {
64                                texture planck.tga
65                        }
66                        texture_unit
67                        {
68                                texture gradient.tga
69                        }
70                        texture_unit
71                        {
72                                texture noise.tga
73                        }
74
75       }
76    }
77}
Note: See TracBrowser for help on using the repository browser.