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

Restore flags texture to fix interlaced stereo mode #12560

Merged
merged 1 commit into from
Jul 19, 2022

Conversation

x2048
Copy link
Contributor

@x2048 x2048 commented Jul 19, 2022

Fix interlaced stereo mode (#12552) by reenabling flags texture in the shaders.

To do

This PR is Ready for Review.

How to test

  1. Set 3d_mode = interlaced
  2. Start any game
  3. Notice that there is no interlacing, sometimes there are duplicate pixels in the image.

The reason is that the mask texture ID uniform is not set, and a wrong texture is used as the mask for merging.

Here is an example of how broken 3d mode looks:
image

Example of correct rendering:
image

@x2048 x2048 added this to the 5.6.0 milestone Jul 19, 2022
@Wuzzy2
Copy link
Contributor

Wuzzy2 commented Jul 19, 2022

Why does it say "Error" on the node texture in the screenshot that is supposed to be the correct one?

@x2048
Copy link
Contributor Author

x2048 commented Jul 19, 2022

Because someone broke textures in devtest on master 🤷

Copy link
Member

@sfan5 sfan5 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll trust your screenshots

@x2048 x2048 merged commit 70c54ab into minetest:master Jul 19, 2022
@x2048 x2048 deleted the interlaced branch July 19, 2022 18:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants