# \#texture

**URL:** https://forum.babylonjs.com/tag/texture/112.md

[Latest](https://forum.babylonjs.com/latest.md) · [Categories](https://forum.babylonjs.com/categories.md) · [Tags](https://forum.babylonjs.com/tags.md)

---

## [Transparent material in .glb or .gltf has black background?](https://forum.babylonjs.com/t/transparent-material-in-glb-or-gltf-has-black-background/63619)

<div class="topic-metadata">

**Author:** [@c4cc](https://forum.babylonjs.com/u/c4cc)\
**Replies:** 12\
**Last updated:** [August 24, 2026, 6:32pm UTC](https://forum.babylonjs.com/t/transparent-material-in-glb-or-gltf-has-black-background/63619 "2026-08-24T18:32:00Z")

</div>

While topics like these do mention about transparency in textures, those textures were standalone, my black-backgrounded textures were all in glb/gltf files How do I turn its background transparent instead of black? I…

---

## [Not enough imports with side-effects when import WebGPU engine separately](https://forum.babylonjs.com/t/not-enough-imports-with-side-effects-when-import-webgpu-engine-separately/63761)

<div class="topic-metadata">

**Author:** [@gamedevenjoyer123](https://forum.babylonjs.com/u/gamedevenjoyer123)\
**Replies:** 4\
**Last updated:** [July 9, 2026, 1:00pm UTC](https://forum.babylonjs.com/t/not-enough-imports-with-side-effects-when-import-webgpu-engine-separately/63761 "2026-07-09T13:00:51Z")

</div>

Hello everyone! I am developing a game with babylon.js and recently I got a very non-intuitive and hard-to-find-out-why-that-thing-dont-work-omg bug. To make long story short - I have a planet (non-transparent material…

---

## [Images with transparent backgrounds losing transparency when applied as material](https://forum.babylonjs.com/t/images-with-transparent-backgrounds-losing-transparency-when-applied-as-material/28157)

<div class="topic-metadata">

**Author:** [@ldogg](https://forum.babylonjs.com/u/ldogg)\
**Replies:** 8\
**Last updated:** [June 8, 2026, 3:48am UTC](https://forum.babylonjs.com/t/images-with-transparent-backgrounds-losing-transparency-when-applied-as-material/28157 "2026-06-08T03:48:39Z")

</div>

Hi everybody! I’m trying to migrate a Three.js project into babylon and have gotten super stuck. I had a feature where a user can upload an image file (using JSFileManager). This image file is then saved to that user’s p…

---

## [Background worker processing](https://forum.babylonjs.com/t/background-worker-processing/63581)

<div class="topic-metadata">

**Author:** [@HiGreg](https://forum.babylonjs.com/u/HiGreg)\
**Replies:** 2\
**Last updated:** [June 3, 2026, 7:48pm UTC](https://forum.babylonjs.com/t/background-worker-processing/63581 "2026-06-03T19:48:40Z")

</div>

UI lags during texture loading are improved with Web Workers. What is the community interest in a similar feature in BABYLON? I’ve developed a JavaScript WorkerPool that makes processing and texture preparation in the …

---

## [GPU Accelerated Creation of HDRCubeTexture](https://forum.babylonjs.com/t/gpu-accelerated-creation-of-hdrcubetexture/53300)

<div class="topic-metadata">

**Author:** [@kzhsw](https://forum.babylonjs.com/u/kzhsw)\
**Replies:** 8\
**Last updated:** [April 24, 2026, 9:29am UTC](https://forum.babylonjs.com/t/gpu-accelerated-creation-of-hdrcubetexture/53300 "2026-04-24T09:29:12Z")

</div>

Playground: Babylon.js Playground Version: 7.24.0 Engine: WebGL2 1. Problem Loading panoramic cube textures is dominated by CPU work on the main thread. Empirical Chrome profiling on the playground above: Scenari…

---

## [Extracting KTX2 texture pixel information](https://forum.babylonjs.com/t/extracting-ktx2-texture-pixel-information/63153)

<div class="topic-metadata">

**Author:** [@SondreElgBB](https://forum.babylonjs.com/u/SondreElgBB)\
**Replies:** 4\
**Last updated:** [April 16, 2026, 7:12am UTC](https://forum.babylonjs.com/t/extracting-ktx2-texture-pixel-information/63153 "2026-04-16T07:12:47Z")

</div>

I’ve spent the day attempting to get the average color of a texture, but the buffers were always filled with nothing but 0 values. Some more testing revealed that this didn’t happen for jpg or png textures, but did for k…

---

## [Draft: Atlas Material](https://forum.babylonjs.com/t/draft-atlas-material/60370)

<div class="topic-metadata">

**Author:** [@kzhsw](https://forum.babylonjs.com/u/kzhsw)\
**Replies:** 14\
**Last updated:** [April 15, 2026, 5:20am UTC](https://forum.babylonjs.com/t/draft-atlas-material/60370 "2026-04-15T05:20:28Z")

</div>

Summary Introduce a runtime atlas material system that lets meshes using different source materials, but the same Babylon shading family, render through a single shared material bind. This is not an offline UV packer.…

---

## [Approach for rendering textures over a random ground generator](https://forum.babylonjs.com/t/approach-for-rendering-textures-over-a-random-ground-generator/62945)

<div class="topic-metadata">

**Author:** [@Khanon](https://forum.babylonjs.com/u/Khanon)\
**Replies:** 10\
**Last updated:** [March 29, 2026, 8:41am UTC](https://forum.babylonjs.com/t/approach-for-rendering-textures-over-a-random-ground-generator/62945 "2026-03-29T08:41:43Z")

</div>

Hi friends, I’m doing a basic random ground generator for babylon.js. It basically creates a base ground (according to some parameters), and then add somef filters like mountains, uneven terrain, etc. The result can b…

---

## [EquiRectangularCubeTexture not loaded with delay load](https://forum.babylonjs.com/t/equirectangularcubetexture-not-loaded-with-delay-load/62859)

<div class="topic-metadata">

**Author:** [@kzhsw](https://forum.babylonjs.com/u/kzhsw)\
**Replies:** 1\
**Last updated:** [March 20, 2026, 8:33am UTC](https://forum.babylonjs.com/t/equirectangularcubetexture-not-loaded-with-delay-load/62859 "2026-03-20T08:33:26Z")

</div>

Version: 8.56.1 (but might be all) Playground: Steps to reproduce: Open the playground: https://playground.babylonjs.com/#RY8LDL#73 Just watch it (It never loads) Expected: It loads just like scene.useDelayedTextu…

---

## [Rendering artifacts with WebGPU](https://forum.babylonjs.com/t/rendering-artifacts-with-webgpu/62502)

<div class="topic-metadata">

**Author:** [@pnut](https://forum.babylonjs.com/u/pnut)\
**Replies:** 8\
**Last updated:** [February 24, 2026, 7:38pm UTC](https://forum.babylonjs.com/t/rendering-artifacts-with-webgpu/62502 "2026-02-24T19:38:57Z")

</div>

I’m seeing some dark rendering artifacts for certain models when using WebGPU. They’re not present in WebGL2 and I also can’t repro this in the Playground so it could have something to do with my setup but any advice or …

---

## [In XR with a refraction texture and multiview enabled, the scene only renders scene.clearColor](https://forum.babylonjs.com/t/in-xr-with-a-refraction-texture-and-multiview-enabled-the-scene-only-renders-scene-clearcolor/60450)

<div class="topic-metadata">

**Author:** [@hmallen99](https://forum.babylonjs.com/u/hmallen99)\
**Replies:** 18\
**Last updated:** [February 11, 2026, 2:59pm UTC](https://forum.babylonjs.com/t/in-xr-with-a-refraction-texture-and-multiview-enabled-the-scene-only-renders-scene-clearcolor/60450 "2026-02-11T14:59:57Z")

</div>

Hi folks, I’m noticing a bug on Quest 3 that reproduces in v8.24.1 onwards. In this playground, I’ve created a minimal scenario where the scene does not render correctly with multiview enabled in WebXR: https://playgrou…

---

## [Create RawTexture2DArray with full mipmap chain compressed texture](https://forum.babylonjs.com/t/create-rawtexture2darray-with-full-mipmap-chain-compressed-texture/61516)

<div class="topic-metadata">

**Author:** [@wiiskii](https://forum.babylonjs.com/u/wiiskii)\
**Replies:** 4\
**Last updated:** [January 27, 2026, 11:29am UTC](https://forum.babylonjs.com/t/create-rawtexture2darray-with-full-mipmap-chain-compressed-texture/61516 "2026-01-27T11:29:52Z")

</div>

This is a follow up question of the previous one: Context: I was using dxt5 compressed textures (a number of .dds files) to render my terrain. For simplicity, I was only taking mip level 0 data from those textures and…

---

## [Sandbox "Studio" environment texture file](https://forum.babylonjs.com/t/sandbox-studio-environment-texture-file/36190)

<div class="topic-metadata">

**Author:** [@ariwoot](https://forum.babylonjs.com/u/ariwoot)\
**Replies:** 5\
**Last updated:** [January 12, 2026, 6:38pm UTC](https://forum.babylonjs.com/t/sandbox-studio-environment-texture-file/36190 "2026-01-12T18:38:43Z")

</div>

Hello, I was wondering if it’s possible to have the .dds or .env file of the Studio environment texture used in the sandbox. I was trying my metallic model with that texture set and i really like the effect. Let me kn…

---

## [Cubemap possibly ignored in PR17151](https://forum.babylonjs.com/t/cubemap-possibly-ignored-in-pr17151/61495)

<div class="topic-metadata">

**Author:** [@tokareuv](https://forum.babylonjs.com/u/tokareuv)\
**Replies:** 5\
**Last updated:** [November 20, 2025, 8:40pm UTC](https://forum.babylonjs.com/t/cubemap-possibly-ignored-in-pr17151/61495 "2025-11-20T20:40:23Z")

</div>

@Evgeni\_Popov After recent update I’ve noticed strange black flickering of DDS-loaded cubemaps (environment and reflection textures which I load using custom extension to glTF loader), and also multiple WebGL errors in c…

---

## [Compressed textures array doesn't work with WebGPU](https://forum.babylonjs.com/t/compressed-textures-array-doesnt-work-with-webgpu/61410)

<div class="topic-metadata">

**Author:** [@wiiskii](https://forum.babylonjs.com/u/wiiskii)\
**Replies:** 2\
**Last updated:** [November 13, 2025, 10:56pm UTC](https://forum.babylonjs.com/t/compressed-textures-array-doesnt-work-with-webgpu/61410 "2025-11-13T22:56:00Z")

</div>

Hi team! Recently I’ve been working on my terrain textures. I was using Texture2DArray with compressed .dds files. However there were always console errors like: Required size for texture data layout (851968) exceeds …

---

## [Node Material texture not loaded when scene.useDelayedTextureLoading = true](https://forum.babylonjs.com/t/node-material-texture-not-loaded-when-scene-usedelayedtextureloading-true/60905)

<div class="topic-metadata">

**Author:** [@kzhsw](https://forum.babylonjs.com/u/kzhsw)\
**Replies:** 2\
**Last updated:** [October 13, 2025, 11:33am UTC](https://forum.babylonjs.com/t/node-material-texture-not-loaded-when-scene-usedelayedtextureloading-true/60905 "2025-10-13T11:33:50Z")

</div>

Engine: WebGL2 Version: 8.31.0 Browser: Chrome/Firefox Steps to reproduce: Open the playground https://playground.babylonjs.com/#0XSPF6#50 Watch the node material side texture load failure Expected: It should work j…

---

## [Broken textures after GLB export](https://forum.babylonjs.com/t/broken-textures-after-glb-export/60756)

<div class="topic-metadata">

**Author:** [@Caner](https://forum.babylonjs.com/u/Caner)\
**Replies:** 4\
**Last updated:** [October 3, 2025, 10:37pm UTC](https://forum.babylonjs.com/t/broken-textures-after-glb-export/60756 "2025-10-03T22:37:41Z")

</div>

Hello! I am loading this model to Sandbox, and executing this code snippet from console to export the file in .glb format. const scene = BABYLON.Engine.LastCreatedScene BABYLON.GLTF2Export.GLBAsync(scene, "download.glb…

---

## [Questions with Texture Using FIXED\_EQUIRECTANGULAR\_MIRRORED\_MODE](https://forum.babylonjs.com/t/questions-with-texture-using-fixed-equirectangular-mirrored-mode/60413)

<div class="topic-metadata">

**Author:** [@xiehangyun](https://forum.babylonjs.com/u/xiehangyun)\
**Replies:** 6\
**Last updated:** [September 11, 2025, 4:09pm UTC](https://forum.babylonjs.com/t/questions-with-texture-using-fixed-equirectangular-mirrored-mode/60413 "2025-09-11T16:09:45Z")

</div>

Please look at these two examples. When I tried using Texture to load an isometric cube map as a skybox, its default rotation differed by 90 degrees from the CubeTexture loaded via env. Moreover, I couldn’t seem to …

---

## [How to load .exr as env](https://forum.babylonjs.com/t/how-to-load-exr-as-env/60327)

<div class="topic-metadata">

**Author:** [@xiehangyun](https://forum.babylonjs.com/u/xiehangyun)\
**Replies:** 11\
**Last updated:** [September 9, 2025, 4:54pm UTC](https://forum.babylonjs.com/t/how-to-load-exr-as-env/60327 "2025-09-09T16:54:41Z")

</div>

I’m trying to use .exr files as environment maps, but it doesn’t seem to be working properly. Does the engine support this? My images are downloaded from here: HDRI: Indoor • Poly Haven Moreover, I’ve noticed that ev…

---

## [3D Texture viewer](https://forum.babylonjs.com/t/3d-texture-viewer/60245)

<div class="topic-metadata">

**Author:** [@CrashMaster](https://forum.babylonjs.com/u/CrashMaster)\
**Replies:** 1\
**Last updated:** [August 26, 2025, 9:38am UTC](https://forum.babylonjs.com/t/3d-texture-viewer/60245 "2025-08-26T09:38:12Z")

</div>

Hey there! Debugging 3d textures can be hard, so I made a simple viewer to help with that:

---

## [Is it possible to sample a texture solely from the next larger mip map?](https://forum.babylonjs.com/t/is-it-possible-to-sample-a-texture-solely-from-the-next-larger-mip-map/60170)

<div class="topic-metadata">

**Author:** [@tintifax89](https://forum.babylonjs.com/u/tintifax89)\
**Replies:** 7\
**Last updated:** [August 25, 2025, 3:00pm UTC](https://forum.babylonjs.com/t/is-it-possible-to-sample-a-texture-solely-from-the-next-larger-mip-map/60170 "2025-08-25T15:00:28Z")

</div>

I would like to make sure that my texture is sampled from the next larger mip map only. Therefore my approach would be to set an LOD offset of -0.5 and then select NEAREST for the mip level interpolation. The idea would …

---

## [Issue with textures in Firefox (v140)](https://forum.babylonjs.com/t/issue-with-textures-in-firefox-v140/59499)

<div class="topic-metadata">

**Author:** [@lb\_artworks](https://forum.babylonjs.com/u/lb_artworks)\
**Replies:** 5\
**Last updated:** [July 15, 2025, 4:29pm UTC](https://forum.babylonjs.com/t/issue-with-textures-in-firefox-v140/59499 "2025-07-15T16:29:41Z")

</div>

Hi all I do not know exactly what version of Firefox broke it but the visualization of textures has changed recently. When the camera is “far” the textures look noisy, at intermediate distance they have blobs of clarity…

---

## [How to tile this dynamic texture?](https://forum.babylonjs.com/t/how-to-tile-this-dynamic-texture/59485)

<div class="topic-metadata">

**Author:** [@pShr](https://forum.babylonjs.com/u/pShr)\
**Replies:** 2\
**Last updated:** [July 14, 2025, 12:14pm UTC](https://forum.babylonjs.com/t/how-to-tile-this-dynamic-texture/59485 "2025-07-14T12:14:20Z")

</div>

I have a dynamic texture like this /\*\* \* Creates a dynamic texture for the alignment plane with grid and border lines. \* @param width - The width of the plane. \* @param height - The height of the plane. \* …

---

## [How to create texture arrays efficiently?](https://forum.babylonjs.com/t/how-to-create-texture-arrays-efficiently/59412)

<div class="topic-metadata">

**Author:** [@CrashMaster](https://forum.babylonjs.com/u/CrashMaster)\
**Replies:** 9\
**Last updated:** [July 11, 2025, 2:03pm UTC](https://forum.babylonjs.com/t/how-to-create-texture-arrays-efficiently/59412 "2025-07-11T14:03:04Z")

</div>

Hey there, I found this PG for creating texture arrays programatically: https://playground.babylonjs.com/#HBWKYN#3 If I already have png files with the same size, is there a way to create a texture array from those ins…

---

## [NME: issue when sampling array of texture](https://forum.babylonjs.com/t/nme-issue-when-sampling-array-of-texture/59482)

<div class="topic-metadata">

**Author:** [@CrashMaster](https://forum.babylonjs.com/u/CrashMaster)\
**Replies:** 1\
**Last updated:** [July 10, 2025, 6:28pm UTC](https://forum.babylonjs.com/t/nme-issue-when-sampling-array-of-texture/59482 "2025-07-10T18:28:04Z")

</div>

Hey there! This was going to be a question but I solved my problem when I was writing it! So I am experimenting with texture arrays in NME, and I kept getting weird layer boundaries: The solution was to flag frag…

---

## [CubeTexture onError callback not called](https://forum.babylonjs.com/t/cubetexture-onerror-callback-not-called/58248)

<div class="topic-metadata">

**Author:** [@bastl.rooom](https://forum.babylonjs.com/u/bastl.rooom)\
**Replies:** 7\
**Last updated:** [May 20, 2025, 11:57am UTC](https://forum.babylonjs.com/t/cubetexture-onerror-callback-not-called/58248 "2025-05-20T11:57:53Z")

</div>

Hi I’m using the CubeTexture function (in combination with a promise) and it seems that the onError callback is not called if you try to load the same (broken) texture again. Not sure if this is a bug of if I’m doing s…

---

## [Error in CubeTexture load ".env" file](https://forum.babylonjs.com/t/error-in-cubetexture-load-env-file/58108)

<div class="topic-metadata">

**Author:** [@\_B1](https://forum.babylonjs.com/u/_B1)\
**Replies:** 4\
**Last updated:** [April 29, 2025, 7:36pm UTC](https://forum.babylonjs.com/t/error-in-cubetexture-load-env-file/58108 "2025-04-29T19:36:57Z")

</div>

Hi my project created in last year based on v6.4.1, and It works well. the code was like: CubeTexture.CreateFromPrefilteredData(“resources/env/sky2.env”, this.scene as any); now I upgrade to V 8.0.0, console will thro…

---

## [Inspector: can not preview texture 2d array](https://forum.babylonjs.com/t/inspector-can-not-preview-texture-2d-array/57901)

<div class="topic-metadata">

**Author:** [@kzhsw](https://forum.babylonjs.com/u/kzhsw)\
**Replies:** 4\
**Last updated:** [April 21, 2025, 4:18pm UTC](https://forum.babylonjs.com/t/inspector-can-not-preview-texture-2d-array/57901 "2025-04-21T16:18:46Z")

</div>

Engine: WebGL2 Version: 8.3.1 Browser: Chrome Hardware: NV GTX 1050 Playground Steps to reproduce: Open the “Inspector” Click textures → “no name” Look at “Preview” Expected: All layers can be previewed Actual…

---

## [Texture.serialize, hardcoded image/png for all mime types](https://forum.babylonjs.com/t/texture-serialize-hardcoded-image-png-for-all-mime-types/56852)

<div class="topic-metadata">

**Author:** [@kzhsw](https://forum.babylonjs.com/u/kzhsw)\
**Replies:** 9\
**Last updated:** [April 11, 2025, 6:01pm UTC](https://forum.babylonjs.com/t/texture-serialize-hardcoded-image-png-for-all-mime-types/56852 "2025-04-11T18:01:53Z")

</div>

Version: 7.51.1 and git master OS: any Browser: any Engine: any Desc In texture.serialize, if the texture contains \_buffer as Uint8Array, commonly if loaded from a glb model, serializing texture will result in base64…

---

## [StorageTexture writable from WebGPU Vertex Shader?](https://forum.babylonjs.com/t/storagetexture-writable-from-webgpu-vertex-shader/57499)

<div class="topic-metadata">

**Author:** [@HiGreg](https://forum.babylonjs.com/u/HiGreg)\
**Replies:** 3\
**Last updated:** [March 31, 2025, 8:15am UTC](https://forum.babylonjs.com/t/storagetexture-writable-from-webgpu-vertex-shader/57499 "2025-03-31T08:15:44Z")

</div>

Error in console: How do I add a StorageTexture that I write from WebGPU Vertex Shader. I get Storage texture binding with StorageTextureAccess::WriteOnly is used with a visibility (ShaderStage::Vertex) that contain…

[Next page](https://forum.babylonjs.com/tag/texture/112.md?match_all_tags=true&page=1&tags%5B%5D=texture)
