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 the display issue when the width and height of the framebuffer are decimals #304

Merged
merged 1 commit into from
Apr 24, 2024

Conversation

06wj
Copy link
Contributor

@06wj 06wj commented Apr 24, 2024

Test demo: https://06wj.github.io/test/framebufferTest/index.html
The width of the framebuffer in the demo is 1023.4004.

Before

There are two display issues,

  1. The display of the framebuffer is wrong, it looks split and tilted
    image
  2. The texture read from the framebuffer in the material is not displayed
    image

After fix

  1. image
  2. image

The fixed extension

extensions 2.zip

@sebavan sebavan merged commit 8c11f4d into BabylonJS:master Apr 24, 2024
1 check passed
@06wj 06wj deleted the fix/framebuffer branch April 24, 2024 17:55
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