Pink Artifacts On Transparent GUI

Started by Old Guy, Tue 22/06/2010 21:32:28

Previous topic - Next topic

Old Guy

I am using AGS Version 3.2 Final 5, and find that pink artifacts are showing up in the upper-left corner of transparent GUIs. The following screenshot shows three examples:

http://www.creativeloops.com/PinkArtifacts.jpg

The pink shows faintly using DirectDraw, and is more pronounced using Direct3D. The problem occurs on both a Window 7 and Windows 2000 machine having different graphics cards.

I usually test my game in windowed mode so I did not notice this problem until I happened to run a test in full-screen mode. Closer examination showed that this is also happening in windowed mode (640x480), it was just hard to see.

Crimson Wizard

The only thing that comes to my mind is that your image possibly has certain pixels of slightly different colour than the rest of background, so when you import the sprite they are not substituted by transparent colour.

Old Guy

Quote from: Crimson Wizard on Tue 22/06/2010 22:44:57
The only thing that comes to my mind is that your image possibly has certain pixels of slightly different colour than the rest of background, so when you import the sprite they are not substituted by transparent colour.

There is no image. Two of the examples were just transparent GUIs with nothing in them, and one example showed the same empty GUI with a label specified.

Pumaman

So this GUI has no background image or colour? Has anyone else seen anything like this?

Old Guy

Quote from: Pumaman on Fri 25/06/2010 14:05:27
So this GUI has no background image or colour? Has anyone else seen anything like this?


I did some further investigation, starting out with a blank game and changing all things related to the GUI, until I found out was causing the problem.

Turns out that the pink artifacts show up when you specify Classic for GUI Alpha Rendering Style under General Settings. If you specify Additive Opacity, there is no problem.

I have no idea what Additive Opacity actually means, but it fixes the problem in my game, so I am sticking with it.

Pumaman

Hmm strange, I'll see if I can reproduce it.

SMF spam blocked by CleanTalk