Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: downloads/Samples/Media/materials/scripts/BlackAndWhite.material @ 3

Last change on this file since 3 was 3, checked in by anonymous, 17 years ago

=update

File size: 471 bytes
Line 
1fragment_program Ogre/Compositor/B&W_FP cg
2{
3        source GrayScale.cg
4        entry_point GrayScale_ps
5        profiles ps_2_0 arbfp1
6}
7
8material Ogre/Compositor/BlackAndWhite
9{
10        technique
11        {
12
13                pass
14                {
15                        depth_check off
16
17                        vertex_program_ref Ogre/Compositor/StdQuad_Cg_vp
18                        {
19                        }
20
21                        fragment_program_ref Ogre/Compositor/B&W_FP
22                        {
23                        }
24
25                        texture_unit
26                        {
27                                texture RT
28                tex_coord_set 0
29                                tex_address_mode clamp
30                                filtering linear linear linear
31                        }
32                }
33        }
34}
Note: See TracBrowser for help on using the repository browser.