• TF2 Cube Maps Not Building
    17 replies, posted
Note that none of the world geometry needs the cubemaps, just some models. The method of [code]mat_specular 0 buildcubemaps mat_specular 1 disconnect sv_cheats 1 mat_reloadallmaterials sv_cheats 0[/code] isn't changing anything.
Could you give more information?
Any model that has a reflective surface is showing the pink and black checkerboards. [img]http://filesmelt.com/dl/2011-08-04_00001.jpg[/img] [img]http://filesmelt.com/dl/2011-08-04_00002.jpg[/img] [img]http://filesmelt.com/dl/2011-08-04_00003.jpg[/img] [img]http://filesmelt.com/dl/2011-08-04_00004.jpg[/img] [img]http://filesmelt.com/dl/2011-08-04_00005.jpg[/img] [img]http://filesmelt.com/dl/2011-08-04_00006.jpg[/img] I'm not sure if any thing reflective like water would do the same thing, because my map doesn't have any reflective world geometry.
is there a skybox?
Maybe you forgot to add "env_cubemap" entities in your map? They should be at the players eye hight
[QUOTE=ashton93;31525766]Maybe you forgot to add "env_cubemap" entities in your map? They should be at the players eye hight[/QUOTE] if there are no env_cubemaps, the engine wont build them
Yes it will. It will use the skybox. as long as they are all the same size, like in hl2.
[QUOTE=Firegod522;31526161]Yes it will. It will use the skybox. as long as they are all the same size, like in hl2.[/QUOTE] it always refused to do that for me. nevermind. :<
No there is no skybox, however if you exit the map you see one instead of blackness (which doesn't happen in other Source games oddly). Also as far as I understand, TF2 does not have default cubemaps. Here's the outside of my map. [img]http://filesmelt.com/dl/p_dumb_map.png[/img] Should I just add a small skybox outside?
[QUOTE=Dr. Evilcop;31532264]No there is no skybox, however if you exit the map you see one instead of blackness (which doesn't happen in other Source games oddly).[/QUOTE]You need to seal the ma [QUOTE=Dr. Evilcop;31532264]Also as far as I understand, TF2 does not have default cubemaps.[/QUOTE] If you had a custom skybox where each side was the samesize vbsp would make a default cubemap for that skybox. You need to place env_cubemap entities. [QUOTE=Dr. Evilcop;31532264]Here's the outside of my map.[/QUOTE]Doesn't matter, as long as you are inside and there are no leaks. [QUOTE=Dr. Evilcop;31532264]Should I just add a small skybox outside?[/QUOTE] Would you see a sky anywhere in your map?
[QUOTE=Firegod522;31532899]You need to seal the map[/QUOTE] The map has no leaks, I painstakingly made sure of that earlier with the pointfile. [QUOTE=Firegod522;31532899]If you had a custom skybox where each side was the samesize vbsp would make a default cubemap for that skybox. You need to place env_cubemap entities.[/QUOTE] [QUOTE=Firegod522;31532899]Would you see a sky anywhere in your map?[/QUOTE] I don't have a custom skybox nor is there anywhere you would see one in my map. Am I able to attach env_cubemap entities to props? Or do I not need to attach them at all? [editline]nevermind[/editline] Apparently I didn't need to attach them, that worked. Thanks.
Try my video tutorial, maybe? [video=youtube;j6LEhq5Yi9k]http://www.youtube.com/watch?v=j6LEhq5Yi9k[/video]
[QUOTE=Reactors;31555187]Try my video tutorial, maybe? [video=youtube;j6LEhq5Yi9k]http://www.youtube.com/watch?v=j6LEhq5Yi9k[/video][/QUOTE] Er thanks, but Firegod522 already solved my problem.
Oh, sorry about that then. I scan through pages, maybe I should actually read one of these days. :v:
Well while you're here actually, is there a reason half of my clip/playerclip brushes keep disappearing? Do I just have too many? I don't have any map errors related to them and nothing comes up in the compile log about them. They're wedge shaped, if that matters. I've tried them in world geometry, func_detail, func_brush, and func_wall, but it doesn't stop them from disappearing.
Hmm, I'm actually not sure. I've never had a problem like that honestly.
[QUOTE=Reactors;31562900]Hmm, I'm actually not sure. I've never had a problem like that honestly.[/QUOTE] I'll try changing half of them to playerclip and leave the other half as clip (they work the same in TF2), and see what happens.
Nevermind, seems the brushes were just too small. And can anyone explain to me why there are weird shadows on half my map, but no weird shadows on the other half (which is just a retextured mirrored half)? (We really need a megathread for Hammer questions).
Sorry, you need to Log In to post a reply to this thread.