Transparent texture doesn't show up ingame. (Source Engine)
4 replies, posted
Made a .tga file with some transparent parts for a model, imported into VTFEdit, added $transparent 1 in the vmt, but ingame the transparent parts are just white.
There is a fix for this?
vmt:
[code]"VertexlitGeneric"
{
"$basetexture" "models/czeror/car_hatchback/hatch_int"
"$transparent" "1"
}
[/code]
In paint.net:
[img]http://i.imgur.com/2SewUEH.png[/img]
Ingame:
[t]http://i.imgur.com/tt5r6xO.jpg[/t]
[t]http://i.imgur.com/GW8es77.jpg[/t]
Try changing $transparent to $translucent
$translucent made it look worse:
[t]http://i.imgur.com/V7VngGY.jpg[/t]
[QUOTE=KillerKo4565;46718836]$translucent made it look worse:[/QUOTE]
Use $alphatest then
[QUOTE=buu342;46718882]Use $alphatest then[/QUOTE]
It worked, thank you!
Sorry, you need to Log In to post a reply to this thread.