VGUI2 panels can only be alpha blended to the world view, not amongst
themselves (see the archives, about a month back for all the technical
details).

- Alfred

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Thursday, March 10, 2005 7:57 PM
To: [email protected]
Subject: [hlcoders] Overlapping VGUI Panels

In my mod, I have a main panel that pops up for selecting your weapons,
and clicking on a certain weapon type will pop up a submenu displaying
all available weapons to choose from.  The corners of my panels have
textures
(ImagePanels) which create 45 degree angle corners instead of points
with an alpha channel.  The problem I have is that when the submenu
overlaps the underlying menu, parts of the menu underneath is
transparent (can see through to the world) at the corners of the
submenu.  It's as if the submenu panel draws a rectangle for its area
and this causes the panel underneath to be transparent within this
rectangle even though the submenu panel's background is given an alpha
making it completely transparent.  Is there anyway to create overlapping
panels and have the panel underneath be drawn completely?

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives,
please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders


_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to