cross-posted from: https://lemmy.ml/post/233881

A lot of games use bitmap graphics. I have noticed that this results in textures becoming blurry when the mode is viewed up close.

This makes me wonder if vector graphics, like Scalable Vector Graphics could help with the issue; vector graphics are designed to render in shapes, therefore the texture wouldn’t become blurry.

Vector graphics would, of course, not do well with pictures that have a ton of detail; but it could be more useful in HUDs and icon textures.

  • @Disregard3145@lemmy.world
    link
    fedilink
    110 months ago

    The simple answer is its hard and slow so you make a compromise.

    More often than not you can find a appropriate upper bound for resolution on your target platform and rasterise ahead of time into texture atlases and the like.

    You could also do this at runtime to support arbitrary resolutions but memory becomes a concern at a point. And including a rasteriser for your vector graphic format of choice may not be appropriate.

    Basically using bitmaps and hoping nobody looks real close is a compromise you hope nobody notices.