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

OpenGL: Selecting a lightmap EXR texture in the FileSystem dock prints an error about SamplerCubeArray not being supported #94408

Open
Tracked by #66458
Calinou opened this issue Jul 15, 2024 · 0 comments · May be fixed by #94423

Comments

@Calinou
Copy link
Member

Calinou commented Jul 15, 2024

Tested versions

  • Reproducible in: 4.3.beta 92c8e87

System information

Godot v4.3.beta (92c8e87) - Fedora Linux 40 (KDE Plasma) - X11 - GLES3 (Compatibility) - NVIDIA GeForce RTX 4090 (nvidia; 555.58.02) - 13th Gen Intel(R) Core(TM) i9-13900K (32 Threads)

Issue description

When using Compatibility, the first time you double-click a lightmap EXR texture in the FileSystem dock, you get an error:

drivers/gles3/storage/material_storage.cpp:950 - Type: SamplerCubeArray not supported in GL Compatibility rendering backend, please use another type.

The editor keeps functioning normally and lightmaps still render correctly.

It's strange that this error appears, as lightmap textures use Texture2DArray, not CubemapArray. Cubemap arrays are generally only used for reflections (and the Compatibility rendering method doesn't use those).

Steps to reproduce

  • Select a lightmap EXR texture in the FileSystem dock while using the Compatibility rendering method.

Minimal reproduction project (MRP)

test_lightmap_environment.zip

@Calinou Calinou changed the title OpenGL: Selecting a lightmap EXR texture in the FileSystem dock prints an error OpenGL: Selecting a lightmap EXR texture in the FileSystem dock prints an error about SamplerCubeArray not being supported Jul 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Up for grabs
Development

Successfully merging a pull request may close this issue.

1 participant