Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 9, 2009, 10:57:59 PM (14 years ago)
Author:
wirthmi
Message:

Added damage overlays

File:
1 edited

Legend:

Unmodified
Added
Removed
  • data/trunk/materials/scripts/Orxonox.material

    r6288 r6309  
    394394    }
    395395}
     396
     397material Orxonox/DamageOverlayTop
     398{
     399    technique
     400    {
     401        pass
     402        {
     403            lighting off
     404            scene_blend alpha_blend
     405            depth_check off
     406
     407            texture_unit
     408            {
     409                texture damageoverlaytop.png
     410            }
     411        }
     412    }
     413}
     414
     415material Orxonox/DamageOverlayRight
     416{
     417    technique
     418    {
     419        pass
     420        {
     421            lighting off
     422            scene_blend alpha_blend
     423            depth_check off
     424
     425            texture_unit
     426            {
     427                texture damageoverlayright.png
     428            }
     429        }
     430    }
     431}
     432
     433material Orxonox/DamageOverlayBottom
     434{
     435    technique
     436    {
     437        pass
     438        {
     439            lighting off
     440            scene_blend alpha_blend
     441            depth_check off
     442
     443            texture_unit
     444            {
     445                texture damageoverlaybottom.png
     446            }
     447        }
     448    }
     449}
     450
     451material Orxonox/DamageOverlayLeft
     452{
     453    technique
     454    {
     455        pass
     456        {
     457            lighting off
     458            scene_blend alpha_blend
     459            depth_check off
     460
     461            texture_unit
     462            {
     463                texture damageoverlayleft.png
     464            }
     465        }
     466    }
     467}
Note: See TracChangeset for help on using the changeset viewer.