When I draw the texture in game it is a black circle, is there any reason for this or does it have to do with my code. The texture is being drawn on a black surface.Rect which extends to the screen resolution so that might have to do with it, other then that I have no idea.
[img]http://i39.tinypic.com/23hptva.png[/img]
Vmt File:
[lua]
"UnlitGeneric"
{
"$basetexture" "TTCRP/TTC_Icon"
"$ignorez" 1
"$vertexcolor" 1
"$vertexalpha" 1
"$nolod" 1
"$nomip" 1
}
[/lua]
surface.SetDrawColor(255,255,255,255)
Add that before you draw it and it should work
Alright, it worked. Thank you.
Sorry, you need to Log In to post a reply to this thread.