Building cubemaps

  • If you're asking a question make sure to set the thread type to be a question!

Eradicatus

L1: Registered
Oct 2, 2009
30
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.
 

Eradicatus

L1: Registered
Oct 2, 2009
30
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:

Pooluke41

L5: Dapper Member
Feb 24, 2010
203
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
 

Pooluke41

L5: Dapper Member
Feb 24, 2010
203
30