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

Texture Bug/Feature? #75312

Closed
walidsantos opened this issue Mar 25, 2023 · 3 comments
Closed

Texture Bug/Feature? #75312

walidsantos opened this issue Mar 25, 2023 · 3 comments

Comments

@walidsantos
Copy link

walidsantos commented Mar 25, 2023

Godot version

4.0.1.stable and 4.0

System information

Windows 10, Intel(R)HD Graphics Family, 20.19.15.5171, GLES3

Issue description

The texture looks normal in editor but when
Running the project the texture is weird.

I tried experimenting in Settings but i can't find the solution. :(

image

Steps to reproduce

"The texture looks normal in editor but when
Running the project the texture is weird.

rotating the texture has pixel rotation too
image

Minimal reproduction project

N/A

@AThousandShips
Copy link
Member

To speed up our work, please upload a minimal project that isolates and reproduces the issue. This is always the best way for us to fix it. We recommend attaching a ZIP file with the minimal project directly to the bug report, by drag and dropping the file in the GitHub edition field. This ensures the file can remain available for a long period of time. Only use third-party file hosts if your ZIP file isn't accepted by GitHub because it's too large.

We recommend always attaching a minimal reproduction project, even if the issue may seem simple to reproduce manually.

It's impossible to tell what's going on just from your description, we need settings, how you're using the texture, etc

@Calinou
Copy link
Member

Calinou commented Mar 25, 2023

This looks like uneven pixel scaling. See godotengine/godot-proposals#1666.

As a workaround, set the stretch mode to canvas_items instead of viewport (which makes the issue less noticeable but won't fix it entirely).

@walidsantos Please upload a minimal reproduction project to make this easier to troubleshoot.

@walidsantos
Copy link
Author

@Calinou it appears the solution for this problem is just setting the stretch mode to canvas_item instead of viewport

@Calinou Calinou closed this as not planned Won't fix, can't repro, duplicate, stale Apr 29, 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