Skybox "blur" problem
Quote from Askie on April 26, 2013, 7:43 pmHey there. I've been hitting my head on this problem for a couple of hours now, and not finding anything about this around (though in my opinion it sounds like a possible common problem), I thought I could ask for it myself.
I've done some mapping before with the Hammer Editor, but this is the very first time making a 2D skybox. My problem is that though everything looks ok into the editor, when running the map in the game the skybox doesn't show, leaving instead this blurry stuff.
http://i.imgur.com/4hoB5fr.jpg
I've tried following three different tutorials for this, checking all the details on the Developer Wiki, following all the steps as they are explained, and even just restarting both the editor and the computer (when you're out of ideas...). Do you have any idea what may cause this?
Hey there. I've been hitting my head on this problem for a couple of hours now, and not finding anything about this around (though in my opinion it sounds like a possible common problem), I thought I could ask for it myself.
I've done some mapping before with the Hammer Editor, but this is the very first time making a 2D skybox. My problem is that though everything looks ok into the editor, when running the map in the game the skybox doesn't show, leaving instead this blurry stuff.
http://i.imgur.com/4hoB5fr.jpg
I've tried following three different tutorials for this, checking all the details on the Developer Wiki, following all the steps as they are explained, and even just restarting both the editor and the computer (when you're out of ideas...). Do you have any idea what may cause this?
Quote from FelixGriffin on April 26, 2013, 10:41 pmVery odd, I've never seen that before. Could you post a VMF?
Very odd, I've never seen that before. Could you post a VMF?
Quote from Lpfreaky90 on April 27, 2013, 6:52 amwhat texture did you use?
Is it tools/skybox and did you set the correct skybox?If you did; is it a custom texture?
Did you download it from the interwebs?
Check the vmt files. Portal 2 has a broken sky material ;
make it an unlitgeneric:
- Code: Select all
unlitgeneric
{
$basetexture "skybox/stars01"
}Is what you need to have; make sure to change your $basetexture to the proper texture
what texture did you use?
Is it tools/skybox and did you set the correct skybox?
If you did; is it a custom texture?
Did you download it from the interwebs?
Check the vmt files. Portal 2 has a broken sky material ;
make it an unlitgeneric:
- Code: Select all
unlitgeneric
{
$basetexture "skybox/stars01"
}
Is what you need to have; make sure to change your $basetexture to the proper texture
Quote from Askie on April 27, 2013, 7:31 amI used the tools/toolsskybox texture, and no, the sky I tried to use is simply the sky_day01_01 one. I also tried a couple of other ones, but they give the same problem.
I'm a little in a hurry right now, but later I will try that and let you know, thanks!
I used the tools/toolsskybox texture, and no, the sky I tried to use is simply the sky_day01_01 one. I also tried a couple of other ones, but they give the same problem.
I'm a little in a hurry right now, but later I will try that and let you know, thanks!

Quote from Askie on April 27, 2013, 9:32 amjosepezdj wrote:That blur looks like a leak in your mapI don't really think so. As a test I tried making the simpliest map possible, a classic hollowed out cube, and still I have that problem.
Anyway, I've had a look into the pak01_dir.vpk file with GCFScape, and didn't find the textures I tried to use in the Skybox directory. There were indeed just a few ones, like sky_black_nofog, sky_fog, sky_white. I tried to use one of those, and it does work, though the sky just being a solid color. Is there any way I can get to use one of the skies listed on the Developer Wiki?
I don't really think so. As a test I tried making the simpliest map possible, a classic hollowed out cube, and still I have that problem.
Anyway, I've had a look into the pak01_dir.vpk file with GCFScape, and didn't find the textures I tried to use in the Skybox directory. There were indeed just a few ones, like sky_black_nofog, sky_fog, sky_white. I tried to use one of those, and it does work, though the sky just being a solid color. Is there any way I can get to use one of the skies listed on the Developer Wiki?

Quote from josepezdj on April 27, 2013, 10:23 amAskie wrote:Is there any way I can get to use one of the skies listed on the Developer Wiki?Of course. If for example you want that sky you mentioned, sky_day01_01, all you need is HL2 or maybe Portal, as the wiki says this skybox belongs to those
Open the "source materials.gcf" and extract your skybox from the /skybox folder.
Now you only have to place the files into your portal 2/portal2/materials/skybox folder and add the name of the desired skybox in your map's properties.
Also you might have to change a bit the .vmt files as Lp said above... check out into them and if they say "sky" at the top, change it by "UnlitGeneric"; then delete all lines except the one for the $basetexture and you'll be done.
Of course. If for example you want that sky you mentioned, sky_day01_01, all you need is HL2 or maybe Portal, as the wiki says this skybox belongs to those Open the "source materials.gcf" and extract your skybox from the /skybox folder.
Now you only have to place the files into your portal 2/portal2/materials/skybox folder and add the name of the desired skybox in your map's properties.
Also you might have to change a bit the .vmt files as Lp said above... check out into them and if they say "sky" at the top, change it by "UnlitGeneric"; then delete all lines except the one for the $basetexture and you'll be done.
Quote from Askie on April 27, 2013, 10:54 amAh, I see!
I probably misunderstood that part of the Wiki, then. Unfortunately I do not own HL2, but I can check if Portal has that one (I think so, considering the ending of the game not being a separated movie). Anyway, would HL2: Lost Coast or Deathmatch be ok as well for this purpose? About the files, I think I understood how to work with them while searching solution to my problem, hehe. Thank you for the answer!
Ah, I see! I probably misunderstood that part of the Wiki, then. Unfortunately I do not own HL2, but I can check if Portal has that one (I think so, considering the ending of the game not being a separated movie). Anyway, would HL2: Lost Coast or Deathmatch be ok as well for this purpose? About the files, I think I understood how to work with them while searching solution to my problem, hehe. Thank you for the answer!
Quote from FelixGriffin on April 27, 2013, 4:32 pmAny game that gets you the Source SDK will work, including Portal, Left 4 Dead, or Team Fortress 2.
But I think I have a version of that sky already patched for Portal 2, it was part of a mod that never took off. I'll see if I can find it.
Any game that gets you the Source SDK will work, including Portal, Left 4 Dead, or Team Fortress 2.
But I think I have a version of that sky already patched for Portal 2, it was part of a mod that never took off. I'll see if I can find it.
Quote from Askie on April 28, 2013, 8:30 amI finally managed to make the skybox work! But there's a new problem. When it didn't work, the game worked normally though; now, with the skybox working, this happens:
http://i.imgur.com/EGP20qZ.jpg
The character is floating in the air, with no possibility to move, and the ground looks lacking of textures. I tried a few things, but still nothing. Any idea how to solve this thing? Sometimes I feel like I'm the only one having so many problems doing something so simple.
I finally managed to make the skybox work! But there's a new problem. When it didn't work, the game worked normally though; now, with the skybox working, this happens:
http://i.imgur.com/EGP20qZ.jpg
The character is floating in the air, with no possibility to move, and the ground looks lacking of textures. I tried a few things, but still nothing. Any idea how to solve this thing? Sometimes I feel like I'm the only one having so many problems doing something so simple.