Cubemaps in Glass - Purple & Black Checkerboard

PWNZOR666

L1: Registered
Jun 9, 2009
9
2
So I have a bunch of rectangular glass windows in my map that use the texture glass/glasswindow001a. After I compile when I start up the map, the glass contains a purple and black checkerboard texture. So I run all the proper cubemap procedures:
Code:
map <mapname>
mat_specular 0
buildcubemaps
disconnect
mat_hdr_level 0
map <mapname>
buildcubemaps
disconnect
mat_hdr_level 2
mat_specular 1
Then I run the map and the glass textures work fine - for me. Now the problem I have is that when I host a server with this map, each client has the same problem of the purple and black checkerboard looking into the glass. I don't want to make every client that plays on my server have to build their own cubemaps, is there something I'm missing?
 

PWNZOR666

L1: Registered
Jun 9, 2009
9
2
PM from -gr- said:
PWNZOR666,

This has worked well for me:

  1. map testmap
  2. buildcubemaps
  3. disconnect
  4. map testmap (there will be a delay as it inserts the images from the first command into the .BSP, then continues loading)
  5. disconnect
now...

Copy the .BSP out of the proper maps directory. This is NOT the location where it was compiled from originally! Make sure you check the timestamps and you'll see the cubemap images were inserted into the map AFTER the map was compiled, when you ran the above commands.

In other words, if you searched your entire computer for testmap.bsp you'll likely see two versions. The one with the most recent timestamp is the one you compress & transfer/copy onto the hosting server.

that's it, hope that helps,
-gr-


Thanks, apparently I had uploaded the wrong instance of the map to my server.