Gentlemen,
I have the following problem. I'm trying to skin a button using a number of 1 pixel wide images.
Specifically, the 4 corners are 2x2, the top and bottom edges are 1x2, the left and right edges are 2x1 and the background is 1x1.
The problem I have is that if I set the HorztFormat and VertFormat to Stretched, the background appears as a very pale, transparent "smear" over the surface of the button. The "color intensity" also appears to be modulated, with the middle of the control being about the color I want, and the colour fading to transparent towards the edges.
(The edges also are inconsistent in colour.)
If I set the formatting to Tiled, I get the look I desire (a uniform color) but performance goes way, way down. The whole thing runs so slowly that it's unusable. Otherwise I'd just Tile and be done.
I'm hoping someone can tell me what I'm doing wrong, and how to fix it. (My initial thought was that the single pixel is somehow being antialiased with an alpha channel. I do note that the source image, not supplied by me, contains an alpha component.)
Thanks in advance.
My apologies for asking a newbe question
Stretched and tiled give different effects
Moderators: CEGUI MVP, CEGUI Team
- scriptkid
- Home away from home
- Posts: 1178
- Joined: Wed Jan 12, 2005 12:06
- Location: The Hague, The Netherlands
- Contact:
hi,
i think that this thread mentiones the same artifacts:
http://www.cegui.org.uk/phpBB2/viewtopi ... ight=pixel
HTH
i think that this thread mentiones the same artifacts:
http://www.cegui.org.uk/phpBB2/viewtopi ... ight=pixel
HTH
Who is online
Users browsing this forum: No registered users and 4 guests