Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 7, 2006, 4:42:44 PM (18 years ago)
Author:
patrick
Message:

bsp: some mods

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/bsp_model/src/lib/graphics/importer/bsp_file.cc

    r8201 r8203  
    392392  ::std::string absFileName;
    393393   char* baseName = "/worlds/bsp";
    394  
     394
    395395  char fileName [500];
    396396  char ext [500];
     
    406406    if(strlen(fileName) == 0)
    407407    {
    408      
     408
    409409     //         Default Material
    410410    this->Materials[i].mat = new Material();
     
    428428    strcpy(ext, ".mov");
    429429    strncat (fileName, ext, strlen(fileName) );
    430    
     430
    431431    PRINTF(0)("BSP FILE: Name %s . \n", fileName);
    432432
     
    631631  sc =  ((unsigned char *)(&lightMapTexture))[i];
    632632  sc *= 1/255.0;
    633   scale = 1.0;
     633
     634  scale = 1.8; // Adjust brightness here
     635
    634636  if(sc > 1.0f && (temp = (1.0f/sc)) < scale) scale=temp;
    635637  scale*=255.0;
Note: See TracChangeset for help on using the changeset viewer.