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

Fix for vr rendering not taking render target size into account. fixes #2420 #2424

Merged
merged 1 commit into from
Apr 24, 2022

Conversation

FireFlyForLife
Copy link
Contributor

I tried to find a way to fix the issue without breaking an existing API. I think the current solution fits that criteria.

I needed to comment in the distortionScale, to keep the example's "vignette" effect. To my eyes the final image looks the same as the previous version.

@FireFlyForLife FireFlyForLife changed the title Fix for vr rendering not taking render target size into account #2420 Fix for vr rendering not taking render target size into account. fixes #2420 Apr 2, 2022
src/rlgl.h Show resolved Hide resolved
@raysan5 raysan5 merged commit ccfac59 into raysan5:master Apr 24, 2022
@raysan5
Copy link
Owner

raysan5 commented Apr 24, 2022

@FireFlyForLife After further review I'm merging this fix for now.

Current FBO data should be provided to RLGL in some way, I'll investigate it further...

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

Successfully merging this pull request may close these issues.

2 participants