Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: data/media/materials/scripts/Posterize.material @ 5479

Last change on this file since 5479 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: 505 bytes
Line 
1fragment_program Ogre/Compositor/PosterizeFP cg
2{
3        source PosterizeFP.cg
4        entry_point Posterize_ps
5        profiles ps_2_0 arbfp1
6}
7
8material Ogre/Compositor/Posterize
9{
10    technique
11    {
12
13                pass
14                {
15                        cull_hardware none
16                        cull_software none
17                        depth_func always_pass
18
19                        vertex_program_ref Ogre/Compositor/StdQuad_Tex2a_vp
20                        {
21                        }
22
23                        fragment_program_ref Ogre/Compositor/PosterizeFP
24                        {
25                        }
26
27                        texture_unit RT
28                        {
29                                tex_coord_set 0
30                                tex_address_mode clamp
31                                filtering trilinear
32                        }
33
34                }
35        }
36}
Note: See TracBrowser for help on using the repository browser.