Problem(s) with surface.DrawPoly used in HUDPaint hook
1 replies, posted
Hey everyone,
I'm creating a hud with multiple draw poly's. So far it only has 3 which are bars that scale. Normally it works and I gave the HUD to some other people to help test for problems. I noticed eventually people started having problems of the poly's disappearing under water, when staring at props or when a message in the middle of the screen appears. This only happens every now and then. I tried fixing it using the draw.NoTexture() trick but that only fixed the first 2 polys and the 3rd completely disappeared.
It also seems that whenever I change the hook unique name it fixes it. Any explanation to either problem?
[editline]04:23PM[/editline]
Forgot to mention it's actually 6 polys total but 3 of them are just stationary backgrounds for the other ones which change vertex points.
Anyone?
Sorry, you need to Log In to post a reply to this thread.