Opened 10 years ago
Last modified 5 years ago
#2309 new defect
Status/Health bars are unreadable when too far away
Reported by: | wraitii | Owned by: | |
---|---|---|---|
Priority: | Nice to Have | Milestone: | Backlog |
Component: | UI – In-game | Keywords: | |
Cc: | Patch: |
Description
Status bars (namely, health and food amount) bars that appear above units when they are selected are unreadable when you get too far from them (or turn a white-ish color that makes them useless).
This most likely happens because they use textures with the GL_LINEAR method of filtering, which corresponds more or less to bilinear filtering (http://en.wikipedia.org/wiki/Bilinear_filtering). Since the base sprites are 1x8, they turn into white mush in the distance.
This problem should be solved by using custom mipmaps that replace the 1x8 gradients with solid rectangles. Or it can be easily solved by replacing the gradients with solid colors and using GL_NEAREST as filtering.
Screenshot attached illustrates the issue:
The first image is using solid colors and GL_NEAREST.
The second is using current gradients and GL_NEAREST.
The third is using solid colors and GL_NEAREST.
The fourth is using current gradients and GL_LINEAR.
Attachments (1)
Change History (3)
by , 10 years ago
comment:1 by , 10 years ago
Milestone: | Alpha 16 → Backlog |
---|
comment:2 by , 5 years ago
Component: | UI & Simulation → In-game UI |
---|
Move tickets to In-game UI
as UI & Simulation
got some sub components.
Not a top priority, shouldn't have a milestone.