Skip to content

Fixes the screen flipping on DirectX#4

Open
AdamFrisby wants to merge 2 commits intoSlightlyMad:masterfrom
AdamFrisby:patch-1
Open

Fixes the screen flipping on DirectX#4
AdamFrisby wants to merge 2 commits intoSlightlyMad:masterfrom
AdamFrisby:patch-1

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