Building cubemaps

Discussion in 'Mapping Questions & Discussion' started by Eradicatus, Mar 11, 2010.

  1. Eradicatus

    Eradicatus L1: Registered

    Messages:
    30
    Positive Ratings:
    7
    I've been trying for a while, and even though it sometimes work, nine out of ten times, the LDR cubes will not be produced.
    What I need is a checklist for building cubemaps in HDR and LDR mode.
    This is what I have at the moment:

    Code:
    *load game/level* (Starting in default HDR mode)
    
    mat_specular 0
    buildcubemaps
    
    *exit game completey*
    *load again*
    
    mat_specular 0
    mat_hdr_level 0
    mat_hdr_enabled 0 (This produces a red text saying "HDR Enabled". Maybe the flaw is here?)
    buildcubemaps
    
    Still, when HDR should be disabled, which also is evident just by looking at bright places in the level, the build program builds the HDR version of the cubemaps.
     
  2. shadowfax

    shadowfax L1: Registered

    Messages:
    28
    Positive Ratings:
    43
  3. Eradicatus

    Eradicatus L1: Registered

    Messages:
    30
    Positive Ratings:
    7
    Tried everything there.
    It is generally the same as what I already have.

    But, I tried a different approach, and it worked perfectly.
    Instead of using the hdr_level and hdr_enabled commands in the console in-game,
    I used them as command line entries. Now it says HDR disabled in the console when the game is loading.
     
    Last edited: Mar 11, 2010
  4. Pooluke41

    Pooluke41 L5: Dapper Member

    Messages:
    203
    Positive Ratings:
    30
    Would it be easier if someone built a script that would Build cubemaps and do all the .

    *load game/level* (Starting in default HDR mode)

    mat_specular 0
    buildcubemaps

    *exit game completey*
    *load again*

    mat_specular 0
    mat_hdr_level 0
    mat_hdr_enabled 0 (This produces a red text saying "HDR Enabled". Maybe the flaw is here?)
    buildcubemaps
     
  5. The Political Gamer

    aa The Political Gamer

    Messages:
    4,468
    Positive Ratings:
    1,704
  6. Pooluke41

    Pooluke41 L5: Dapper Member

    Messages:
    203
    Positive Ratings:
    30
    Seen that but it doesn't *load game/level* (Starting in default HDR mode)

    mat_specular 0
    buildcubemaps

    *exit game completey*
    *load again*

    mat_specular 0
    mat_hdr_level 0
    mat_hdr_enabled 0 (This produces a red text saying "HDR Enabled". Maybe the flaw is here?)
    buildcubemaps

    For you