Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Distorted UI #102

Open
LPGhatguy opened this issue Aug 27, 2023 · 1 comment
Open

Support Distorted UI #102

LPGhatguy opened this issue Aug 27, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@LPGhatguy
Copy link
Member

LPGhatguy commented Aug 27, 2023

Some games have slightly distorted UI for their HUD, sometimes moving a bit to match the player's camera movement and simulate a 3D effect:

Cyberpunk-207712292020-014148-80978

While we have plans for per-layer transforms for 3D-looking panels, it might be additionally useful to support distortion that applies at the fragment level. We'd also want to make sure input lines up with the distorted UI as well so that the mouse doesn't feel offset.

@LPGhatguy LPGhatguy added the enhancement New feature or request label Aug 27, 2023
@Ralith
Copy link
Collaborator

Ralith commented Oct 23, 2023

I think this could be implemented satisfyingly outside of yakui, by projecting yakui's 2D domain (e.g. mapping onto a curved mesh) and inverse-projecting mouse input (e.g. raycasting) however the user likes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants