GL Backend Doesn't Support Cube Map Arrays #1746
Labels
area: api
Issues related to API surface
backend: gles
Issues with GLES or WebGL
needs information
Further information is requested
type: enhancement
New feature or request
Description
GLES backend does not appear to support cube map array textures. This is more of a discussion to see how we might be able to support cube arrays if that is possible at all.
Repro steps
I ran into this while trying to run the new Bevy renderer on the GL backend. I don't have a small example, to test unfortunately.
Expected vs observed behavior
Expected that I could create a cube map array, but got an invalid operation error:
Extra materials
None
Platform
Ubuntu 20.04 WGPU@master (bbeb30a)
Edit: A quick check seems to show that cube map arrays are supported in GLES 3.2. Also there is this extension for ES 3.1
EXT_texture_cube_map_array
. I'd bet that this is impossible to support in WebGL. 😦Edit 2: From what I see, it looks like we already have a downlevel flag for this, and I'm actually running GLES 3.2 so it should work. I'll look more into what the problem might be.
The text was updated successfully, but these errors were encountered: