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

Please export a uniform with core aspect ratio to shaders #281

Open
kokoko3k opened this issue Aug 23, 2022 · 0 comments
Open

Please export a uniform with core aspect ratio to shaders #281

kokoko3k opened this issue Aug 23, 2022 · 0 comments

Comments

@kokoko3k
Copy link

When developing a shader that wants to use lateral borders to draw bezels, ambient light and so on, retroarch aspect must be set to something not "core provided".
Since the shader has no clue what is the intended aspect ratio (DAR), it has to do some, maybe wrong, guess about it by reading Originalsize, but this is far from ideal.
I propose that the core provided aspect ratio is exported as a Uniform to the shader as a float.

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

No branches or pull requests

1 participant