Cubemaps wont work

pisaman2

L1: Registered
May 27, 2009
34
1
I recently added cubemaps to my map but they don't seem to be working. I have tried putting them in every room at player height and also near reflective surfaces such as windows. When I compile and enter

mat_specular 0
buildcubemaps
mat_specular 1

I still get the horrible purple/black squares on reflective surfaces. I have changed skyboxes and everything. Any advice?
 
Last edited:

NovaSilisko

L42: Life, the Universe and Everything
aa
Feb 3, 2009
502
270
Explained in chat. =p
 

grazr

Old Man Mutant Ninja Turtle
aa
Mar 4, 2008
5,441
3,814
Youme said:
-load the map
-mat_specular 0
-buildcubemaps
-disconnect
-mat_hdr_level 0
-map <mapname>
-buildcubemaps
-disconnect
-mat_specular 1
-mat_hdr_level 2
-relooad map and enjoy

You'll need to reload your materials after building your cubemaps. Either type into your console "mat_reloadallmaterials" with sv_cheats set to 1 or load another map.. say 2fort for the sakes of chosing another map, to replace the cached materials of your previous map. So your materials are reloaded when you run the map again.