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

Fixes the screen flipping on DirectX #4

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

AdamFrisby
Copy link

UV Y coordinates are reversed on DX-like platforms, this prevents the screen from flipping upside down when in DirectX.

UV coordinates are reversed on DX-like platforms, this prevents the screen from flipping around.
Fixes the depth texture being flipped as a result of previous commit.
@SlightlyMad
Copy link
Owner

This is for forward renderer and MSAA, right? I'll try it tomorrow.

@AdamFrisby
Copy link
Author

Could have been - was a blank project I imported into, I may have forgotten to switch to deferred. I may have made some further tweaks after that patch to get it to behave correctly, although I think that was the important one.

@SlightlyMad
Copy link
Owner

Forward+MSAA was the only broken combination as far as I can tell. Unfortunately your commit made it even worse. It is now broken even without MSAA. I think something is missing. I'll look into it when I have more time.

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