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

Random out-of-bounds rects in keep-optimal-aspect-ratio in GL Compatibility #73246

Closed
hydroper opened this issue Feb 13, 2023 · 3 comments
Closed

Comments

@hydroper
Copy link

hydroper commented Feb 13, 2023

Godot version

4.0.rc2

System information

Windows 11, gl_compatibility

Issue description

image

I've confirmed this bug does not happen in forward_plus renderer.

Steps to reproduce

I did this in my project:

  • Display > Window > Stretch > Mode = viewport
  • Display > Window > Stretch > Aspect = keep
  • Display > Window > Stretch > Scale = 1
  • Main Scene: A Node2D

However, when I create a new project I don't reproduce the problem, so please look at the minimal reproduction project, which is my project still in development (pretty short).

Minimal reproduction project

godot_optimal_ratio_demo

@hydroper
Copy link
Author

It works perfectly in forward_plus renderer. The out-of-bounds area is rendered as black.

image

@hydroper
Copy link
Author

Tried in 4.0.rc2 now and same issue.

@akien-mga akien-mga changed the title Random out-of-bounds rects in keep-optimal-aspect-ratio Random out-of-bounds rects in keep-optimal-aspect-ratio in GL Compatibility Feb 14, 2023
@akien-mga akien-mga added this to the 4.0 milestone Feb 14, 2023
@clayjohn
Copy link
Member

Duplicate of #71799 closing this so we can track the issue in one place

@clayjohn clayjohn closed this as not planned Won't fix, can't repro, duplicate, stale Feb 14, 2023
@clayjohn clayjohn removed this from the 4.0 milestone Feb 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants