source: GTP/trunk/App/Demos/Illum/Ogre/Media/MORIA/MoriaDust.material @ 2376

Revision 2376, 1.2 KB checked in by szirmay, 17 years ago (diff)
Line 
1vertex_program Moria/MoriaDust_VS hlsl
2{
3        source MoriaDust.hlsl
4        entry_point MoriaDust_VS
5        target vs_2_0
6}
7
8fragment_program Moria/MoriaDust_PS hlsl
9{
10        source MoriaDust.hlsl
11        entry_point MoriaDust_PS
12        target ps_2_0
13}
14
15material MoriaDust
16{
17        technique
18        {
19                pass
20                {
21                        IllumTechniques
22                        {
23                        RenderTechnique SphericalBillboard
24                            {
25                                                texture_unit_id         1                                       
26                                }
27                        }       
28
29                        depth_check off
30                        depth_write off
31                        scene_blend src_alpha one
32                        //scene_blend alpha_blend
33                        vertex_program_ref Moria/MoriaDust_VS
34                        {       
35                            param_named_auto worldView worldview_matrix
36                            param_named_auto Proj projection_matrix
37                            param_named_auto width viewport_width       
38                            param_named_auto height viewport_height
39                        }
40                        fragment_program_ref  Moria/MoriaDust_PS
41                        {
42                            param_named_auto farplane far_clip_distance   
43                            param_named_auto nearplane near_clip_distance
44                        param_named color float4 0.55 0.56 0.5 2.5
45                        param_named symmetry float 0.1 
46                        param_named_auto lightCPos light_position_view_space 0
47                        }
48                        texture_unit
49                        {
50                                texture dust.dds
51                        }
52                        texture_unit //scene depth
53                        {
54                        }
55                        texture_unit
56                        {
57                                texture phasefunction.jpg
58                        }
59                }
60        }
61}
Note: See TracBrowser for help on using the repository browser.