Custom Skybox Trouble

Custom Skybox Trouble

Re: Custom Skybox Trouble Posted by misterlazyo on Wed Oct 29th 2008 at 9:59am
misterlazyo
13 posts
Posted 2008-10-29 9:59am
13 posts 1 snarkmarks Registered: Dec 8th 2004
I just finished creating all my skybox sides.
compiled each 32bit .tga file with suffixes up,dn,lf,rt,bk,ft
A .txt file along with the compile.
Example: "skybox" "1"
.VMT Example:"sky"
{
"$hdrbasetexture" "skybox/sky_nightfog_01up"
"$nofog" "0"
"$ignorez" "1"
"$basetexture" "sky/sky_nightfog_01up"
}
Anyways, this is an in game image of problem (black skybox)
http://img370.imageshack.us/my.php?image=icetest0001yi4.png
and there should be a nice bright moon behind that demoman :D
http://img158.imageshack.us/my.php?image=moonpngie2.png
This is my first custom skybox. I did read a few tutorials on the subject, but still came up with this problem.
Re: Custom Skybox Trouble Posted by Le Chief on Wed Oct 29th 2008 at 10:17pm
Le Chief
2605 posts
Posted 2008-10-29 10:17pm
Le Chief
member
2605 posts 937 snarkmarks Registered: Jul 28th 2006 Location: Sydney, Australia
Your skybox textures need to be in vtf format, not tga.

You can open up the tga files in Photoshop and save them as a vtf with the Vtf Photoshop Plugin or convert the tga to a bmp file and use VTF Edit and export the texture as a vtf.
Re: Custom Skybox Trouble Posted by misterlazyo on Wed Oct 29th 2008 at 11:25pm
misterlazyo
13 posts
Posted 2008-10-29 11:25pm
13 posts 1 snarkmarks Registered: Dec 8th 2004
I did make them all vtf files. When compiled with the .txt files. Sorry, I didn't post that ><
Re: Custom Skybox Trouble Posted by Le Chief on Thu Oct 30th 2008 at 10:48am
Le Chief
2605 posts
Posted 2008-10-30 10:48am
Le Chief
member
2605 posts 937 snarkmarks Registered: Jul 28th 2006 Location: Sydney, Australia
Your VMT file seems to be incorrect, it should read:

"UnlitGeneric"
{
"$hdrbasetexture" "skybox/sky_nightfog_01up"
"$nofog" "0"
"$ignorez" "1"
"$basetexture" "sky/sky_nightfog_01up"
}

Change the first line in all vmt files and tell me if it fixed the problem ;).
Aaron's Stuff
Re: Custom Skybox Trouble Posted by misterlazyo on Fri Nov 7th 2008 at 1:48am
misterlazyo
13 posts
Posted 2008-11-07 1:48am
13 posts 1 snarkmarks Registered: Dec 8th 2004
UnlitGeneric didn't work