[HELP ME] HammerTexture Brush Viewer Problem

Discussion in 'Mapping Questions & Discussion' started by nanosheep, Jul 26, 2010.

  1. nanosheep

    nanosheep L1: Registered

    Messages:
    13
    Positive Ratings:
    23
    I'm making some custom textures for the artpass contest.

    However, when I view them in the texture viewer tool, they appear distorted/wonky/broken (See figure 1.)

    [​IMG]
    (Figure 1. Custom made texture appears incorrectly in the texture viewer.)

    When the texture is applied onto brushes, it looks fine. However, when I render the map the textures are all wrong!

    Help would be greatly appreciated.

    My texture is 512x512.

    Here is a copy of the .VMT for reference:

    Code:
    "VertexlitGeneric"
    {
    	"$basetexture" "quarreh/corrugated_metalwall1"
    	"$bumpmap" "quarreh/corrugated_metalwall1_normal"
    	"$normalmap" "quarreh/corrugated_metalwall1_normal"
    	"$surfaceprop" "Metal"
    }
    
     
  2. Seba

    aa Seba DR. BIG FUCKER, PHD

    Messages:
    2,363
    Positive Ratings:
    2,365
    This looks like your .vtf is corrupted... Does this happen with every texture you make?
     
  3. Freyja

    aa Freyja ¯\_(ツ)_/¯

    Messages:
    2,819
    Positive Ratings:
    4,661
    Your using the VertexLitGeneric shader. Thats for models.

    Use LightmappedGeneric for textures for brushes

    and WorldVertexTransition for blend textures
     
  4. nanosheep

    nanosheep L1: Registered

    Messages:
    13
    Positive Ratings:
    23
    Oh, many thanks!

    See this terrible WIP (Figure 1):

    [​IMG]
    Figure 1. A terrible Work In Progress image. May the dark gods have mercy.

    Now, for some reason my custom blendgraveltoground texture isn't working...

    Code:
    "WorldVertexTransition"
    {
    	"$basetexture" "Nature/dirtground001"
    	"$basetexture2" "Nature/dirtground002"
    	"%tooltexture" "Nature/blendgraveltoground_tooltexture"
    	"$bumpmap" "Nature/dirtground001_normal"
    	"$bumpmap2" "Nature/dirtground002_normal"
    	"$blendmodulatetexture" "Nature/dirtground001_blendmask"
    	"%keywords" "tf"
    	"%detailtype" "tf_grass"
    	"$surfaceprop" "dirt"
    
    
    }
    
    Basically, it is Valve's "Blendgroundtogravel", but inversed. I can't for the love of Khorne figure out how to debug this.
     
  5. Freyja

    aa Freyja ¯\_(ツ)_/¯

    Messages:
    2,819
    Positive Ratings:
    4,661
    It looks like its missing a bumpmap or one of the two textures.
     
    • Thanks Thanks x 1
  6. nanosheep

    nanosheep L1: Registered

    Messages:
    13
    Positive Ratings:
    23
    [​IMG]

    Awesome. Thanks for the help.
     
  7. Crow

    Crow L1: Registered

    Messages:
    2
    Positive Ratings:
    0
    Just use the "Invert Alpha" button in the displacement tab of the texture application tool, no need to create a new material.
     
  8. UGLYdumpling

    UGLYdumpling L3: Member

    Messages:
    127
    Positive Ratings:
    56
    Is it just my eyes? ... or is that vertical corrugated texture creating a moire effect?
    In which case you'd need to space it out more along the horizontal.