EverestAPI / EverestAPI/Everest

TagsExt.PixelHUD

Open
#1,007 3 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
C#
Stars
516
Forks
106
Avg merge
4d 9h
Merged PRs (30d)
5

Description

### I am planning on implementing this myself

No

### Describe your request

A tag that allows rendering entities above everything except for the HUD and SubHUD layers, but with a 320x180 resolution just like regular entities.

I've had many instances where I would like a HUD kind of entity above everything else, but that has exposed a few problems:
- No matter how low the entity's `Depth` is, it is always rendered below FG Stylegrounds.
- Non-HUD entities are always affected by darkness, which is not ideal for this kind of entity.
- HUD entities have linear filtering, which prevents a simple 6x scale fix. Changing the `SamplerState` not only still doesn't look 100% pixelated under certain window scales such as 4x, but also requires ending the current `SpriteBatch`.

The current best fix is by rendering the entity as a styleground, which is something that would need a separate implementation for every single helper that intends on making pixelated HUD elements, so Everest PR it is.

### Additional context

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.