Tweenster/Known Issues

From CasperTech Wiki
Jump to navigation Jump to search
Artifacts when the HUD is minimised

Artifacts in minimised mode

When the HUD is in "minimised" mode there are sometimes some tiny pixels visible on the screen (artifacts).

This is not unique to Tweenster (also visible on the HUD by TMP, for example).

We can fix this, however, if we do it will make opening and closing the HUD much slower, so we're trying to work out if it's worth fixing.

Explanation for nerds

The small pixels are a result of floating point errors in the shader. The planes on the HUD should be perfectly rotated away from the screen so you can't see them, but due to a very small mathematical error, sometimes the shader renders a single pixel).

To fix this we'll need to either move or alpha every single link on the HUD when the hud is minimised and restored, which will slow it down significantly, especially on heavily loaded regions.