Problem with glass

Pawlakov

Deliberately incoherent
aa
Jun 1, 2013
193
42
I have a huge glass window on my map, but it have ugly pink grid. Why?
 
Last edited:
T

The Asylum

Welcome to your first lesson in cubemaps

Very early on, before you start the fine detailing in your maps, depending on what sky texture you're using your reflective surfaces will be looking for something to reflect. If they don't know what they're supposed to reflect, they'll default to the "missing" texture, the purple checkers. A very simple and rudimentary fix is putting an env_cubemap entity anywhere in your map. Run your map, and in console, type buildcubemaps
 

Pawlakov

Deliberately incoherent
aa
Jun 1, 2013
193
42
I have many cubemaps but i forgot to "buildcubemaps".
When i tried to build cubemaps is displayed:
"Can't load skybox file sky_upward to build the default cubemap!"
 

ics

http://ics-base.net
aa
Jun 17, 2010
841
543
You need to build cubemaps with HDR and without it. The error is normal at this stage. So basically you do this:

map mapname
sv_cheats 1 (i usually do this just incase)
mat_specular 0
buildcubemaps (wait for them to build)
disconnect
mat_specular 1
mat_reloadallmaterials
switch HDR on or off (off if it was on, on if it was off for the first build)
map mapname
mat_specular 0
buildcubemaps

Done.
 

Fish 2.0

L6: Sharp Member
Nov 22, 2012
324
262
You need to build cubemaps with HDR and without it. The error is normal at this stage. So basically you do this:

If you haven't compiled with HDR then you can just do this; if you don't know what HDR is then you likely won't have compiled it.



map mapname
sv_cheats 1
mat_specular 0
buildcubemaps (wait for them to build)
disconnect
mat_specular 1
mat_reloadallmaterials
map mapname

Done.
 

Pawlakov

Deliberately incoherent
aa
Jun 1, 2013
193
42
I doesn't work! "Can't load skybox file sky_upward to build the default cubemap!"