( first of all, I hesitated a bit on whether to post this in the bugs section or not. I finally decided to be humble and ask if I'm doing something wrong first
![Wink ;)](./images/smilies/icon_wink.gif)
we are having an issue in SuperTuxKart that appears to be linked to irrlicht not resetting the "EMT_TRANSPARENT_ADD_COLOR" flag when 3D rendering is done and we switch to 2D rendering; even though our 2D material does not have that flag set, the GUI is rendered what seems to be additively
This happens first with the in-game "paused" dialog. If the dialog is shown while "slip stream" effect if used (which uses EMT_TRANSPARENT_ADD_COLOR) the dialog shows up white and empty ( see screenshot at https://sourceforge.net/tracker/?func=d ... tid=981038 ), while usually it has a black background and buttons on it (see screenshot of normal dialog at http://2.bp.blogspot.com/_im4Yv1xoVXw/S ... h/STK1.jpg )
As soon as we stop using EMT_TRANSPARENT_ADD_COLOR, the bug goes away.
A similar problem occurs in our "feature unlocked" screen. See screenshot : http://3.bp.blogspot.com/_im4Yv1xoVXw/S ... h/STK1.jpg
Notice the button at the bottom; normally the button's shadow would be shaded with transparency and there would be black text on it. That seems coherent with additive blending being used, however this is more puzzling as to my knowledge no additive blending is used in the 3D scene there.
Any clue? Are we doing something wrong, or should it work?