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

Revision 2450, 1.3 KB checked in by szirmay, 17 years ago (diff)
RevLine 
[2376]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                {
[2450]21                        IllumTechniques
22                        {
23                        RenderTechnique SphericalBillboard
24                            {
25                                                texture_unit_id         1                                       
26                                }
27                        }       
[2376]28
[2450]29                        depth_check off
[2376]30                        depth_write off
31                        scene_blend src_alpha one
[2398]32                        scene_blend_alpha zero one
[2376]33                        //scene_blend alpha_blend
34                        vertex_program_ref Moria/MoriaDust_VS
35                        {       
36                            param_named_auto worldView worldview_matrix
37                            param_named_auto Proj projection_matrix
38                            param_named_auto width viewport_width       
39                            param_named_auto height viewport_height
40                        }
41                        fragment_program_ref  Moria/MoriaDust_PS
42                        {
43                            param_named_auto farplane far_clip_distance   
44                            param_named_auto nearplane near_clip_distance
[2450]45                        param_named color float4 0.95 0.96 0.95 1.2
[2376]46                        param_named symmetry float 0.1 
47                        param_named_auto lightCPos light_position_view_space 0
[2392]48                        param_named_auto lightPower light_power 0
[2376]49                        }
50                        texture_unit
51                        {
52                                texture dust.dds
53                        }
54                        texture_unit //scene depth
55                        {
56                        }
57                        texture_unit
58                        {
59                                texture phasefunction.jpg
60                        }
61                }
62        }
63}
Note: See TracBrowser for help on using the repository browser.