• VTFs wigging out when looking around?
    2 replies, posted
Why does these VTFs do this? [IMG]http://i.imgur.com/1oHcLkF.gif[/IMG] I have this vtf set (HUDPaint) with: [CODE] surface.SetMaterial( icon[stat] ) surface.SetDrawColor(color_white) surface.DrawTexturedRect( x + x1 + 2, y + y1 * i, w, h ) [/CODE] VMT set to: [CODE] "LightmappedGeneric" { "$basetexture" "serfwepstats/Damage" "$translucent" "1" } [/CODE]
Use the UnlitGeneric shader instead of LightmappedGeneric
[QUOTE=Willox;47798639]Use the UnlitGeneric shader instead of LightmappedGeneric[/QUOTE] Woo! Thanks! It works. [IMG]http://i.imgur.com/Ule3pNq.png[/IMG] Albeit the small circle icons still look like shite. :p
Sorry, you need to Log In to post a reply to this thread.