home *** CD-ROM | disk | FTP | other *** search
/ GameStar 2006 January / Gamestar_80_2006-01_dvd.iso / Utility / 5-11_xp-2k_dd_ccc_wdm_enu_27345.exe / Data1.cab / _E627656381BD4845ABF564A2F12FB375 < prev    next >
Text File  |  2004-03-29  |  448b  |  18 lines

  1. !!ARBfp1.0
  2. ATTRIB  extinction = fragment.texcoord[0];
  3. ATTRIB  inscattering = fragment.texcoord[1];
  4. ATTRIB  diffuse = fragment.color.primary;
  5. ATTRIB  specular = fragment.color.secondary;
  6. ATTRIB  tc = fragment.texcoord[2];
  7.  
  8. PARAM   USEFUL = {0.0, 0.5, 1.0, 2.0};
  9.  
  10. TEMP    col;
  11.  
  12. TEX     col, tc, texture[0], 2D;
  13. MAD     col, col, diffuse, specular;
  14. MAD     result.color, col, extinction, inscattering;
  15.  
  16. MOV     result.color, col;
  17. END
  18.