Alpha blended rectangle
Blitz3D Forums/Blitz3D Programming/Alpha blended rectangle
| ||
Can I use alpha blending together with the 2D Rect command? I can't seem to find anything about it. Thanks in advance Ozak |
| ||
not directly with 2d rect are you trying to make a status bar for a 3d game? |
| ||
A transparent background for menu text actually, so yes :) |
| ||
As Neomancer was suggesting, you can not apply transparency to 2D objects, only to 3D objects. To achieve your desired effect, create a 3D quad (or use a sprite, but a quad is better) with your desired texture/color then apply EntityAlpha to it. There are several GUI libaries available which use 3D commands. Check out the toolbox page. Rhy :) |