Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: data/branches/lod/materials/scripts/BlackAndWhite.material @ 12181

Last change on this file since 12181 was 5312, checked in by landauf, 16 years ago

added shaders (compositors, materials, cg programs and textures)

  • Property svn:eol-style set to native
File size: 459 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.