home *** CD-ROM | disk | FTP | other *** search
/ GameStar 2005 April / Gamestar_72_2005-04_dvd.iso / Dema / Liquidator / Liquidator.tma / data / Weapons / shell.sss < prev   
Text File  |  2004-08-17  |  986b  |  44 lines

  1. version 1.2
  2.  
  3. begin_material
  4.   surface_type(nodlight);
  5.   surface_type(nolightmaps);
  6.   surface_type(alpha);
  7.   surface_type(noshadows);
  8.   surface_type(vertexcolor);
  9.   drawing_order(9);
  10. end_material
  11.  
  12.  
  13.  
  14. begin_tech(high)
  15.   // 1-st lod --------------------------------------------------------------
  16.   begin_lod
  17. begin_textures
  18.    texture(0, weapons\shell.bmp,0);
  19.  
  20. end_textures
  21.  
  22.     begin_pass
  23.       render_state(alpha,enable);
  24.       render_state(source_blend, source_alpha);
  25.       render_state(destination_blend, inverse_source_alpha);
  26.       render_state(zbuffer_write,  disable);
  27. //      render_state(zbuffer,  disable);
  28.  
  29.  
  30.       begin_state
  31. //    texgen_copy(1);
  32.         texture_state(color_operation, modulate);
  33.         texture_state(color_arg1, texture);
  34.         texture_state(color_arg2, diffuse);
  35.         texture_state(alpha_operation, select_arg1);
  36.         texture_state(alpha_arg1, diffuse);
  37.  
  38.       end_state
  39.  
  40.   
  41.     end_pass
  42.   end_lod
  43. end_tech  
  44.