[HELP ME] HammerTexture Brush Viewer Problem

nanosheep

L1: Registered
Sep 4, 2008
13
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.)

fig1.jpg

(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"
}
 

Seba

DR. BIG FUCKER, PHD
aa
Jun 9, 2009
2,364
2,728
This looks like your .vtf is corrupted... Does this happen with every texture you make?
 

Freyja

aa
Jul 31, 2009
2,994
5,813
Your using the VertexLitGeneric shader. Thats for models.

Use LightmappedGeneric for textures for brushes

and WorldVertexTransition for blend textures
 

nanosheep

L1: Registered
Sep 4, 2008
13
23
Oh, many thanks!

See this terrible WIP (Figure 1):

WIP2-1.png

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.
 

Crow

L1: Registered
Jul 26, 2010
2
0
Just use the "Invert Alpha" button in the displacement tab of the texture application tool, no need to create a new material.
 

UGLYdumpling

L3: Member
May 24, 2010
127
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.