Hey there,
This is a quick guide on how to build cubemaps for maps with HDR support. I haven't tested this with widescreen monitors, but it should work fine.
- Configure the game to go full screen. Using the best possible graphic configurations produces better results.
- Load the map which you're willing to build the cubemaps.
- Type in the console the following commands. Don't type "<<" or anything on the right side of it. I'll be using those as "comments" on the specific line.
Quote:
sv_cheats 1
togglephase
mat_specular 0
mat_hdr_enabled 1
buildcubemaps << After this one, press esc and move your character a bit... just enough to don't stand in the same place
mat_hdr_enabled 0
buildcubemaps
mat_hdr_enabled 1 << you will see a lot of purple stuff in this step
mat_specular 1
mat_reloadallmaterials
|
- If you see some errors like the ones below, ignore them. It's perfectly normal. (That's why you will see some purple textures on the screen)
Quote:
Error reading material "materials/maps/zoc_test/c336_569_48.vtf"
*** Tried to load a non-VTF file as a VTF file!
|
- Type "quit" in the console. Your game will (obviously) close. On my tests, it crashed twice. Don't worry about that crash, it's because the game couldn't find that purple textures previously mentioned.
- Open the game and load the map. Enjoy your new map with working cubemaps and HDR.
Note: When compiling the map, MAKE SURE you have enabled "-both" flag for vrad, or this method will fail.
Update (2008-06-29): Some fixes, added arenaceous advice.