2012-09-28, 15:29
I noticed something behaving differently in textures vs images. And i wanted to know if maybe i had made a mistake in making the textures file.
When using something like this:
Where "white.png" is maybe 4x4px being used to fill the screen by stretch or repeat.
When converted to a textures file it will become more and more transparent, the further away it gets from the top left corner.
In the lower right corner there will be no white left.
But when it is still just an image (png) in the media folder, it will result in an equal white transparency over the whole screen.
Is that expected behavior?
When using something like this:
Code:
<control type="image">
<posx>0</posx>
<posy>0</posy>
<width>1280</width>
<height>720</height>
<aspectratio>stretch</aspectratio>
<texture>white.png</texture>
<colordiffuse>FFCCCCCF</colordiffuse>
<animation effect="fade" end="80" condition="true">Condition</animation>
</control>
When converted to a textures file it will become more and more transparent, the further away it gets from the top left corner.
In the lower right corner there will be no white left.
But when it is still just an image (png) in the media folder, it will result in an equal white transparency over the whole screen.
Is that expected behavior?