Decal Problems In Hammer

Fraurrix

Thread Junky
Joined
May 17, 2011
Messages
897
Disregard this thread. Somebody on the Steam forums helped me.


Hey guys, I keep having an issue where my custom decals have a blurry grey border around them and if you look closely, the pixels are distorted instead of being crisp.

It's not a problem with the image itself, it's something that Hammer keeps doing. I've look at the VTF several times and it looks the way it should there. Why does Hammer keep screwing it up?

Copy pasta from the Steam Forums:

Here's a picture to show you the issues I'm having. he border is clear as day. If you look closely, you'll notice the shades of green being blurred around the edge of were they meet.

http://i1081.photobucket.com/albums/j346/Fraurrix/Source SDK/hammer_decal_borders.png

I don't how this could have happened. I scaled them from their original 16 pixel size up to 64 pixels and had interpolation turned off in GIMP when I scaled it. It couldn't have blurred in the scaling process.

VMT:

"LightmappedGeneric"
{
"" "z/decal-fst-grs-botrgt"
"" 1
"" 1
"" 1
}

Anyone know what's going on here?
 
Last edited:
It looks like that picture is from inside Hammer. When you compile the map and play it, does it look the same in-game?

Also, depending on what your using the custom texture for, it might be a good idea to make it an overlay instead of a decal.
 
Last edited:
It looks like that picture is from inside Hammer. When you compile the map and play it, does it look the same in-game?

Also, depending on what your using the custom texture for, it might be a good idea to make it an overlay instead of a decal.
Yes and yes. Somebody on the Steam forums already helped though. I checked off the point sampling flag in VTFEdit and changed "$translucent" to "$alphatest".

Good to know.
 
Last edited:

Latest posts

Back
Top