agrippa1994 / DX9-Overlay-API

Overlay API for DirectX 9 based games.
MIT License
127 stars 26 forks source link

Alpha Channel not working? #8

Open evilC opened 10 years ago

evilC commented 10 years ago

According to the docs, dwColor is ARGB. I tried modifying the demo by changing the BoxCreate command to:

BoxCreate(200, 200, 200, 200, 0x10FFFFFF, true)

But the resulting box was not transparent.

ghost commented 10 years ago

You tested another Alpha values? I set it with BoxSetColor(..., 0x77000000) and its transparent.

JohnnyCrazy commented 10 years ago

I also noticed ALPHA is not working in the GFXTest Application. (Tried it in several other Games (League of Legends, SA:MP) and its working fine there)

I will try to find a better Test-Environment ASAP

evilC commented 10 years ago

Alpha is not working for me in MechWarrior Online either.

I am downloading LoL now to see if it works for me in that.

agrippa1994 commented 10 years ago

It depends on the drawing settings of the game. I might take a look at it :)

evilC commented 10 years ago

Hmm, I think I must have goofed or something. Alpha works fine in MechWarrior Online.

ghost commented 7 years ago

Fixed by commit 1031a5a4a78313ce48e05d727148674f01766a92