Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9449


Ignore:
Timestamp:
Nov 14, 2012, 9:18:42 PM (12 years ago)
Author:
davidsa
Message:

Added a transparent material for use in Hardware Occlusion Querying

Location:
data/trunk
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • data/trunk/materials/lensflare.material

    r9447 r9449  
    4242        }
    4343    }
    44  }
     44 }
     45
     46//this material is fully transparent, it's only use is to calculate obscured pixels with HOQ
     47 material lensflare/hoq
     48 {
     49    technique
     50    {
     51        pass
     52        {
     53            lighting off
     54            scene_blend src_alpha dest_alpha
     55            depth_write off
     56 
     57            cull_hardware none
     58            cull_software none
     59 
     60            texture_unit
     61            {
     62                tex_address_mode clamp
     63                texture lensflare-hoq.png
     64            }
     65        }
     66    }
     67 }
Note: See TracChangeset for help on using the changeset viewer.