This is a bit odd to me. I've been trying to make a few decals but the edges all have this grey border. In photoshop it is not there however in game it shows up. At first I thought that it was an issue with the alpha channel so I expanded its selection to include where that 1 pixel border would be. It still does not work.
Any ideas?
[IMG]http://img266.imageshack.us/img266/8649/greyborder.png[/IMG]
Perhaps it is a .vmt error?
[QUOTE=Jakobi;25429793]Perhaps it is a .vmt error?[/QUOTE]
Maybe, but in what way?
Here's the .vmt I'm using:
[CODE]"LightmappedGeneric"
{
"$basetexture" "letters/T"
$decal 1
$decalscale 0.1
$translucent 1
}
[/CODE]
What does your alpha layer look like in the .tga?
[QUOTE=Samuelgames;25432043]Appears to be something related to the sampling, use mat_filtertextures 0 and see if it's gone.[/QUOTE]
I'll give that a go.
[editline]16th October 2010[/editline]
[QUOTE=Yadda;25431978]What does your alpha layer look like in the .tga?[/QUOTE]
Here's the alpha:
[IMG]http://img409.imageshack.us/img409/9211/alphag.png[/IMG]
There's a border around that image.
[editline]16th October 2010[/editline]
:frog:
is the RGB channels fully black?
If its a black T surrounded by white, the white will bleed over a bit into the unmasked bits.
[QUOTE=Project Ninety;25440559]is the RGB channels fully black?
If its a black T surrounded by white, the white will bleed over a bit into the unmasked bits.[/QUOTE]
In Photoshop it's black on transparent.
[editline]16th October 2010[/editline]
[QUOTE=~ZOMG;25440347]There's a border around that image.
[editline]16th October 2010[/editline]
:frog:[/QUOTE]
Which image? And if it's the alpha; Do you mean the very outer edge or the edge of the letter?
Change the shader from Lightmappedgeneric to Decal.
[B]Disregard the phrase above, it's not a valid shader[/B]
[QUOTE=kukiric;25440835]Change the shader from Lightmappedgeneric to Decal.[/QUOTE]
That isn't a shader is it?
[QUOTE=Firegod522;25441038]That isn't a shader is it?[/QUOTE]
Just checked, it isn't, so disregard my stupidity.
I almost thought for a moment it existed until I checked my .vmts :v:
Post the VTF please
Sorry, you need to Log In to post a reply to this thread.