2D Skybox Help

Discussion in 'Mapping Questions & Discussion' started by Fraz, Jun 7, 2009.

  1. Fraz

    aa Fraz Blu Hatte, Greyscale Backdrop.

    Messages:
    944
    Positive Ratings:
    564
    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


    [​IMG]

    It should look like:

    [​IMG]

    The first vmt I used was from here

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

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

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


    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.
     
  2. YM

    aa YM LVL100 YM

    Messages:
    7,099
    Positive Ratings:
    5,745
    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)
     
    • Thanks Thanks x 1
    Last edited: Jun 7, 2009
  3. Fraz

    aa Fraz Blu Hatte, Greyscale Backdrop.

    Messages:
    944
    Positive Ratings:
    564
    Thanks youme, that worked :)