| Last change
                  on this file since 56 was
                  44,
                  checked in by bknecht, 18 years ago | 
        
          | 
merge from tutorial branche to trunk
 | 
        | File size:
            604 bytes | 
      
      
        
  | Line |  | 
|---|
| 1 | fragment_program Ogre/Compositor/GlassFP cg | 
|---|
| 2 | { | 
|---|
| 3 | source GlassFP.cg | 
|---|
| 4 | entry_point main_ps | 
|---|
| 5 | profiles ps_2_0 arbfp1 | 
|---|
| 6 | } | 
|---|
| 7 |  | 
|---|
| 8 | material 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.tga 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.