problem with vtex

xdiesp

Spy
Joined
Nov 23, 2004
Messages
724
Reaction score
1
my vtex doesn't want to convert a TGA to VTF with the $nolod parameter active. I have the TGA file in \sprays\ (nothing else inside) and they I run vtex this way:

vtex.exe -mkdir -shader UnlitGeneric -vmtparam $vertexcolor 1 -vmtparam $vertexalpha 1 -vmtparam $ignorez 1 -vmtparam $no_fullbright 1 -vmtparam $nolod 1 hl2\materialsrc\sprays\*.tga

so that the VTF is created along a VMT file that tells:

"UnlitGeneric"
{
"$baseTexture" "console/background01"
"$vertexcolor" "1"
"$vertexalpha" "1"
"$ignorez" "1"
"$no_fullbright" "1"
"$nolod" "1"
}

however,when I run HL2,the background is still texture quality dependant. What am I doing wrong? Thank you in advance for your help.
 
try the $nomip switch in ur txt file too
and u dont put the nolod in ur vmt. u put it in the txt file that vtex creates. then use the txt file instead of the tga to compile and why would u compile a spray this way, when u cna simply import one directly in the game.
 
sigh,let's hope no one will lower the texture resolution to low! :\
 
Back
Top