Skip to content

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

@Calinou

Description

@Calinou

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    Up for grabs

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions