2D Skybox Help

Fraz

Blu Hatte, Greyscale Backdrop.
aa
Dec 28, 2008
944
1,152
I've been working on my 2D Skybox however it has been stretching an ungodly amount when loaded ingame.

I so far have tried 2 different vmts. One on a tutorial, one copying from valve's skybox texture that I edited.

Screenshot of my Sky, it was exactly the same with both vmts


2qw3hhl.jpg


It should look like:

2mzd4qh.jpg


The first vmt I used was from here

"UnlitGeneric"
{
"$basetexture" "skybox/sky_calore_01lf"
"$nofog" 1
"$ignorez" 1
}

The second I copied off of Valves sky_night_01lf vmt, still stretched.

"UnlitGeneric"
{
"$basetexture" "skybox/sky_calore_01lf"
"$nofog" 1
"$ignorez" 1
"$basetexture" "skybox/sky_calore_01lf"
"$basetexturetransform" "center 0 0 scale 1 2 rotate 0 translate 0 0"
"%keywords" "tf"
}

Now the VDC says a third vmt, that I haven't tried yet, but will soon.


"sky"
{

"$hdrcompressedTexture" "skybox/<filename>"
"$nofog" "1"
"$ignorez" "1"
"$basetexture" "skybox/<filename>"
}

Now I am wondering if I should "merge" all the vmts into:

"sky"
{

"$hdrcompressedTexture" "skybox/<filename>"
"$nofog" "1"
"$ignorez" "1"
"$basetexture" "skybox/<filename>"
"$basetexturetransform" "center 0 0 scale 1 2 rotate 0 translate 0 0"
"%keywords" "tf"
}


Now, I was also thinking it could be a problem with my TGAs but that will be the last thing checked. If anyone has any ideas, or can see any problems, or knows a vmt that should work, and has worked in the past for them. Any help is appreciated.
 

YM

LVL100 YM
aa
Dec 5, 2007
7,135
6,056
Furnace creek sky:
Code:
"sky"
{
	
	"*hdrbasetexture" "skybox/sky_furnace_01lf"	
	"*nofog" "1"
	"*ignorez" "1"
	"*basetexture" "skybox/sky_furnace_01lf"
	"*basetexturetransform" "center 0 0 scale 1 2 rotate 0 translate 0 0"
	"%keywords" "tf"
}
Salt creek sky:
Code:
"sky"
{
	
	"*hdrbasetexture" "skybox/sky_salt_01lf"	
	"*nofog" "1"
	"*ignorez" "1"
	"*basetexture" "skybox/sky_salt_01lf"
	"*basetexturetransform" "center 0 0 scale 1 2 rotate 0 translate 0 0"
	"%keywords" "tf"
}
Strata sky:
Code:
"sky"
{
	
	"*hdrbasetexture" "skybox/sky_strata_01lf"	
	"*nofog" "1"
	"*ignorez" "1"
	"*basetexture" "skybox/sky_strata_01lf"
	"*basetexturetransform" "center 0 0 scale 1 2 rotate 0 translate 0 0"
	"%keywords" "tf"
}

They're all rectangular images and they all work just fine.

(replace * with $.. I hate this forum's removal of $ words)
 
Last edited: