Hammer thinks my texture is the wrong size.

Discussion in 'Mapping Questions & Discussion' started by Earl, Sep 28, 2008.

  1. Earl

    Earl L6: Sharp Member

    Messages:
    284
    Positive Ratings:
    37
    So I've made some blend textures that are 2048x1024 (replacing rockwall005), but hammer thinks they are 1024x1024. I've even tried creating 2048x1024 versions of the other texture in the blend, but to no avail. These textures show up fine in game, there is no repeat halfway up.

    Does anyone know how to fix this? Otherwise its going to be a pain to do texture alignment...

    The middle section is the original texture, the ones on the sides are my blend textures.

    [​IMG]

    Here's my .vmt:

    Code:
    "WorldVertexTransition"
    {
    	"$basetexture" "Nature/rockwall005"
    	"$basetexture2" "Nature/mulch_tall"
    	"%tooltexture" "Nature/blendgroundtograss007_tooltexture"
    
    	"$bumpmap" "Nature/rockwall004_bump-ssbump"
            "$ssbump" "1"
    	"%keywords" "tf"
    	"$surfaceprop" "dirt"
    
    }
     
  2. Armadillo of Doom

    aa Armadillo of Doom Group Founder, Lover of Pie

    Messages:
    949
    Positive Ratings:
    614
    If you just doubled the x-axis, couldn't you scale the original by .5?
     
  3. YM

    aa YM LVL100 YM

    Messages:
    7,099
    Positive Ratings:
    5,742
    I have a feeling this is caused if you have a blend texture tool texture that is of a different size to the actual texture. I had a similar problem that was caused by me shrinking the needlessly huge tooltexture (the one hammer uses in the texture browser, it never gets used anywhere else)
     
    • Thanks Thanks x 1
  4. Earl

    Earl L6: Sharp Member

    Messages:
    284
    Positive Ratings:
    37
    That worked Youme. I replaced the %tooltexture to a texture that was 1024x2048 and it shows up correctly in hammer.

    So basically hammer thinks a texture is whatever size its tooltexture is.