Home Creators Posts Import Register Favorites Logout

Content

I've plugged the new 2D renderer in the GUI rendering code to see how it looks. The GUI renderer still wasn't modified to take advantage of the video aspect customization, but it already gives some insight on other features that needs further care.

As you can see, there's a lot of glitches at the borders of the GUI elements due to their textures being wrapped around. Text elements actually glitches not only because of this, but also because they're stored in an image atlas (the "conchars" image).

Without dithering, there are no glitches because the texels aren't mixed with their neighbors.

The GUI image loader will have to be modified to preprocess the images. Each image atlas will have to be split into individual images, and images that should not be tiled will have to be padded at the edges. Text characters will have to be extra padded at the sides to support shearing for italics formatting.

All this preprocessing will make it harder to implement power-of-2 optimizations in the 2D rasterizer, but let's see what happens. There are some other ways to optimize it.

Files

Comments

No comments found for this post.