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

Textures in rgb8 format become rgba8 in rendering #76529

Closed
Redwarx008 opened this issue Apr 28, 2023 · 1 comment
Closed

Textures in rgb8 format become rgba8 in rendering #76529

Redwarx008 opened this issue Apr 28, 2023 · 1 comment

Comments

@Redwarx008
Copy link
Contributor

Redwarx008 commented Apr 28, 2023

Godot version

4.02

System information

Win10 Vulkan/GLES3 Intel(R) UHD Graphics 750

Issue description

Textures in rgb8 format become rgba8 in rendering.
After debugging, I found that the format of texture is still rgb8, but the format of texture->rd_texture has changed to rgba8. I don’t know if it is intentional.

Steps to reproduce

Create a texture in rgb8 format, and then use renderdoc to grab a frame to view.

Minimal reproduction project

@Calinou
Copy link
Member

Calinou commented Apr 28, 2023

Can you test the latest master branch? This was likely resolved by #76516 for VRAM-compressed textures.

#56523 remains an issue, but only for L8/LA8 formats.

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