
[1.9] Render Bug
kraineff opened this issue ยท 9 comments
@HenryLoenwind no. I checked
He is not wrong, they render differently. It is an inconsistency and makes texturing difficult.
For anyone who wants to texture the tabs with the news system:
There are now 3 textures that are rendered above each other. Lowest layer is the background (3rd "row' on the icon sheet). It will be rendered left-aligned, overlapping the main window by 3px and will be 3px shorter than the tab width. For inactive tabs those pixels will be skipped. Next is the left side (2nd texture). It will be rendered the same way as the background. Last one is the right side. It will be rendered right-aligned, 3px shorter than the tab width (meaning it will not overlap the main window).
Depending on your border style you may not want the left or right texture to render all the way. In that case just delete most of one of them. You only need the outermost 3px, the rest is overlapped.
If there's a need for it, it'll change the background texture u-mapping to align with the main texture's width. But for this I'd have to know the tiling grid size of your background (or make a texture that is as wide as possible).