home *** CD-ROM | disk | FTP | other *** search
/ Revista CD Expert 51 / PCGamer51_17Demos.iso / games / CM / CyclingManagerDemoCangas.exe / CyclingManagerDemo / scripts / cfg / FogParameters.cfg < prev    next >
Text File  |  2001-06-10  |  983b  |  27 lines

  1. // *************************
  2. // Fog definition
  3. // *************************
  4.  
  5.  
  6. var i32x DLC_Fog_Linear = 1;        // Linear fog (Start/End param)
  7. var i32x DLC_Fog_Exp = 2;            // Exponential fog (Density param)
  8.  
  9. var i32x DLC_Fog_Pixel = 4;            // Pixel based fog
  10. var i32x DLC_Fog_Vertex = 8;        // Vertex based fog
  11.  
  12. var i32x DLC_Fog_RangeBased = 16;    // Only for vertex mode (correct rotational artefacts)
  13.  
  14. // Fog Parameters :
  15. // ID, color, mode, start, end, density
  16.  
  17. func void UpdateFogsParameters ()
  18. {
  19.     SetFogParameters(0,MakeARGB(255,187,221,255),DLC_Fog_Exp|  DLC_Fog_Vertex |DLC_Fog_RangeBased, 0.0, 0.0, 0.00025);
  20.  
  21.     SetFogParameters(1,MakeARGB(255,187,221,255),DLC_Fog_Exp | DLC_Fog_Vertex |DLC_Fog_RangeBased, 0.0, 0.0, 0.0004);
  22.  
  23.     SetFogParameters(2,MakeARGB(255,181,191,200),DLC_Fog_Exp | DLC_Fog_Vertex |DLC_Fog_RangeBased, 0.0, 0.0, 0.0007);
  24.  
  25.     SetFogParameters(3,MakeARGB(255,145,152,159),DLC_Fog_Exp | DLC_Fog_Vertex |DLC_Fog_RangeBased, 0.0, 0.0, 0.0015);
  26. }
  27.