Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 24, 2016, 12:21:43 PM (8 years ago)
Author:
landauf
Message:

improved glow effects

File:
1 edited

Legend:

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

    r11084 r11088  
    121121                        scene_blend add
    122122                        depth_write off
     123                        emissive 1 1 1
    123124
    124125                        texture_unit
     
    126127                                texture backlightflare.png
    127128                        }
    128 
     129                }
     130        }
     131
     132        technique
     133        {
     134                scheme glow
     135                pass
     136                {
     137                        lighting off
     138                        scene_blend add
     139                        depth_write off
    129140                        emissive 1 1 1
     141
     142                        texture_unit
     143                        {
     144                                texture backlightflare_glow.png
     145                        }
     146                }
     147        }
     148}
     149
     150material Flares/ThrusterFlare1
     151{
     152        technique
     153        {
     154                pass
     155                {
     156                        lighting off
     157                        scene_blend add
     158                        depth_write off
     159                        emissive 1 1 1
     160
     161                        texture_unit
     162                        {
     163                                texture bigflare1.png
     164                        }
    130165                }
    131166        }
     
    136171                pass
    137172                {
    138                         texture_unit
    139                         {
    140                                 texture backlightflare_glow.png
    141                         }
    142                         ambient 1 1 1
    143                         diffuse 1 1 1
    144                         specular 0 0 0 1
     173                        lighting off
     174                        scene_blend add
     175                        depth_write off
    145176                        emissive 1 1 1
    146                 }
    147         }
    148 }
    149 
    150 material Flares/ThrusterFlare1
    151 {
    152         technique
    153         {
    154                 pass
    155                 {
    156                         lighting off
    157                         scene_blend add
    158                         depth_write off
    159 
    160                         texture_unit
    161                         {
    162                                 texture bigflare1.png
    163                         }
    164 
    165                         emissive 1 1 1
    166                 }
    167         }
    168 
    169         technique
    170         {
    171                 scheme glow
    172                 pass
    173                 {
     177
    174178                        texture_unit
    175179                        {
    176180                                texture bigflare1_glow.png
    177181                        }
    178                         ambient 1 1 1
    179                         diffuse 1 1 1
    180                         specular 0 0 0 1
    181                         emissive 1 1 1
    182182                }
    183183        }
Note: See TracChangeset for help on using the changeset viewer.