Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/SuperOrxoBros_HS18/data_extern/materials/Glass.material @ 12175

Last change on this file since 12175 was 12175, checked in by siramesh, 5 years ago

Super Orxo Bros (Sidharth Ramesh, Nisa Balta, Jeff Ren)

File size: 580 bytes
Line 
1fragment_program Ogre/Compositor/GlassFP cg
2{
3        source GlassFP.cg
4        entry_point main_ps
5        profiles ps_2_0 arbfp1
6}
7
8material Ogre/Compositor/GlassPass
9{
10        technique
11        {
12                pass
13                {
14                        depth_check off
15
16                        vertex_program_ref Ogre/Compositor/StdQuad_Cg_vp
17                        {
18                        }
19
20                        fragment_program_ref Ogre/Compositor/GlassFP
21                        {
22                        }
23
24                        texture_unit RT
25                        {
26                                tex_coord_set 0
27                                tex_address_mode clamp
28                                filtering linear linear linear
29                        }
30
31                        texture_unit
32                        {
33                                texture WaterNormal1.png 2d
34                                tex_coord_set 1
35                                //tex_address_mode clamp
36                                filtering linear linear linear
37                        }
38                }
39        }
40}
Note: See TracBrowser for help on using the repository browser.