Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 11088


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

improved glow effects

Location:
data/trunk
Files:
1 added
1 deleted
7 edited

Legend:

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

    r10966 r11088  
    328328        technique
    329329        {
     330                pass
     331                {
     332                        lighting off
     333                        scene_blend add
     334                        depth_write off
     335
     336                        texture_unit
     337                        {
     338                                texture flare.png
     339                        }
     340                }
     341        }
     342
     343        technique
     344        {
     345                scheme glow
    330346                pass
    331347                {
  • 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        }
  • data/trunk/materials/PE_materials.material

    r11084 r11088  
    3737                }
    3838        }
     39
     40        technique
     41        {
     42                scheme glow
     43                pass
     44                {
     45                        lighting off
     46                        depth_write off
     47                        scene_blend add
     48
     49                        texture_unit
     50                        {
     51                                texture flare.png
     52                        }
     53                }
     54        }
    3955}
    4056
     
    190206                        depth_write off
    191207                        scene_blend add
     208                        emissive 1 1 1
    192209
    193210                        texture_unit
     
    195212                                texture explosion3.png
    196213                        }
    197 
     214                }
     215        }
     216
     217        technique
     218        {
     219                scheme glow
     220                pass
     221                {
     222                        lighting off
     223                        depth_write off
     224                        scene_blend add
    198225                        emissive 1 1 1
    199                 }
    200         }
    201 
    202         technique
    203         {
    204                 scheme glow
    205                 pass
    206                 {
     226
    207227                        texture_unit
    208228                        {
    209229                                texture explosion3_glow.png
    210230                        }
    211                         ambient 1 1 1
    212                         diffuse 1 1 1
    213                         specular 0 0 0 1
    214                         emissive 1 1 1
    215231                }
    216232        }
  • data/trunk/materials/Trail.material

    r11084 r11088  
    99                        depth_check on
    1010                        depth_write off
     11                        emissive 1 1 1
    1112
    1213                        texture_unit
     
    1415                                texture backlighttrail.png
    1516                        }
    16 
    17                         emissive 1 1 1
    1817                }
    1918        }
     
    2423                pass
    2524                {
     25                        lighting off
     26                        scene_blend alpha_blend
     27                        depth_check on
     28                        depth_write off
     29                        emissive 1 1 1
     30
    2631                        texture_unit
    2732                        {
    2833                                texture backlighttrail_glow.png
    2934                        }
    30                         ambient 1 1 1
    31                         diffuse 1 1 1
    32                         specular 0 0 0 1
    33                         emissive 1 1 1
    3435                }
    3536        }
  • data/trunk/materials/assff.material

    r7708 r11088  
    2323                }
    2424        }
     25
     26        technique
     27        {
     28                scheme glow
     29                pass
     30                {
     31                        lighting off
     32
     33                        texture_unit
     34                        {
     35                                texture assff_glow.JPG
     36                        }
     37                }
     38        }
    2539}
  • data/trunk/materials/laserbeam.material

    r11084 r11088  
    88                        depth_write off
    99                        scene_blend add
     10                        emissive 1 1 1
     11
    1012                        texture_unit
    1113                        {
     
    1315                                colour_op modulate
    1416                        }
    15                         emissive 1 1 1
    1617                }
    1718        }
     
    2223                pass
    2324                {
     25                        lighting off
     26                        depth_write off
     27                        scene_blend add
     28                        emissive 1 1 1
     29
    2430                        texture_unit
    2531                        {
    2632                                texture laserbeam_glow.png
    2733                        }
    28                         ambient 1 1 1
    29                         diffuse 1 1 1
    30                         specular 0 0 0 1
    31                         emissive 1 1 1
    3234                }
    3335        }
  • data/trunk/programs/glow.cg

    r11084 r11088  
    6969                tex2D(scene, uv) +
    7070#endif
    71                 tex2D(blurXY, uv) * 4;
     71                tex2D(blurXY, uv) * 1;
    7272}
Note: See TracChangeset for help on using the changeset viewer.