# \#webgl

**URL:** https://forum.babylonjs.com/tag/webgl/25.md

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

---

## [Fluid Renderer: opaque shading mode + per-particle size – looking for API feedback](https://forum.babylonjs.com/t/fluid-renderer-opaque-shading-mode-per-particle-size-looking-for-api-feedback/63949)

<div class="topic-metadata">

**Author:** [@tini2n](https://forum.babylonjs.com/u/tini2n)\
**Replies:** 6\
**Last updated:** [September 8, 2026, 6:34pm UTC](https://forum.babylonjs.com/t/fluid-renderer-opaque-shading-mode-per-particle-size-looking-for-api-feedback/63949 "2026-09-08T18:34:34Z")

</div>

Hi @Evgeni\_Popov, hi all :waving\_hand: This is my first topic so first of all want to say thanks everyone for supporting Babylon.js comunity! Hope it keeps growing and becoming more popular. I used FluidRenderer to bui…

---

## [OpenVGal / 3D web galleries created programmatically (Help welcome !)](https://forum.babylonjs.com/t/openvgal-3d-web-galleries-created-programmatically-help-welcome/37705)

<div class="topic-metadata">

**Author:** [@lb\_artworks](https://forum.babylonjs.com/u/lb_artworks)\
**Replies:** 33\
**Last updated:** [August 23, 2026, 7:36am UTC](https://forum.babylonjs.com/t/openvgal-3d-web-galleries-created-programmatically-help-welcome/37705 "2026-08-23T07:36:26Z")

</div>

I have been working in the last months on a web-based virtual 3D gallery to showcase art or pictures. Currently all is rendered with Babylon. Hopefully in the future the .glb can be created with blender & baked textur…

---

## [Clustered lighting WGSL fails validation on Firefox WebGPU — ptr\<storage\> function parameter requires unrestricted\_pointer\_parameters, which naga doesn't implement](https://forum.babylonjs.com/t/clustered-lighting-wgsl-fails-validation-on-firefox-webgpu-ptr-storage-function-parameter-requires-unrestricted-pointer-parameters-which-naga-doesnt-implement/63887)

<div class="topic-metadata">

**Author:** [@increasinglyHuman](https://forum.babylonjs.com/u/increasinglyHuman)\
**Replies:** 1\
**Last updated:** [August 4, 2026, 2:46pm UTC](https://forum.babylonjs.com/t/clustered-lighting-wgsl-fails-validation-on-firefox-webgpu-ptr-storage-function-parameter-requires-unrestricted-pointer-parameters-which-naga-doesnt-implement/63887 "2026-08-04T14:46:32Z")

</div>

What happens: Any scene using ClusteredLightContainer renders fine on Chrome/Edge WebGPU but fails shader validation on Firefox WebGPU (tested Firefox stable, Windows, 2026-08). Every clustered-consuming material’s fragm…

---

## [Single-Draw Equirectangular to Cubemap Converter](https://forum.babylonjs.com/t/single-draw-equirectangular-to-cubemap-converter/62329)

<div class="topic-metadata">

**Author:** [@kzhsw](https://forum.babylonjs.com/u/kzhsw)\
**Replies:** 3\
**Last updated:** [February 12, 2026, 11:34pm UTC](https://forum.babylonjs.com/t/single-draw-equirectangular-to-cubemap-converter/62329 "2026-02-12T23:34:26Z")

</div>

Features: Single WebGL draw call Branchless mode All conversion happens on GPU, no copy-back Code: GPU Equirectangular to Cubemap Converter v3.zip (6.5 KB) What’s changed: Scroll to zoom Baked transform to vertic…

---

## [GPU SphericalHarmonics Creation](https://forum.babylonjs.com/t/gpu-sphericalharmonics-creation/62341)

<div class="topic-metadata">

**Author:** [@kzhsw](https://forum.babylonjs.com/u/kzhsw)\
**Replies:** 9\
**Last updated:** [February 6, 2026, 4:00am UTC](https://forum.babylonjs.com/t/gpu-sphericalharmonics-creation/62341 "2026-02-06T04:00:49Z")

</div>

Precision: 4.xxe-6 Engine: WebGL2 only Playground: https://playground.babylonjs.com/#2FDQT5#3056 Performance: First run very slow, but faster after warmup. Use this to benchmark: https://playground.babylonjs.co…

---

## [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…

---

## [How to require GLSL extension for material](https://forum.babylonjs.com/t/how-to-require-glsl-extension-for-material/55227)

<div class="topic-metadata">

**Author:** [@kzhsw](https://forum.babylonjs.com/u/kzhsw)\
**Replies:** 8\
**Last updated:** [December 11, 2024, 10:32am UTC](https://forum.babylonjs.com/t/how-to-require-glsl-extension-for-material/55227 "2024-12-11T10:32:27Z")

</div>

Version: 7.38.0 Engine: WebGL2 Browser: Chrome Background: I’m trying to implement the WEBGL\_multi\_draw extension in babylon.js, see previous context here: Per spec, #extension GL\_ANGLE\_multi\_draw needs to be added…

---

## [GPU memory leak on iOS when using HDR textures?](https://forum.babylonjs.com/t/gpu-memory-leak-on-ios-when-using-hdr-textures/55069)

<div class="topic-metadata">

**Author:** [@Tricotou](https://forum.babylonjs.com/u/Tricotou)\
**Replies:** 3\
**Last updated:** [December 2, 2024, 6:42pm UTC](https://forum.babylonjs.com/t/gpu-memory-leak-on-ios-when-using-hdr-textures/55069 "2024-12-02T18:42:48Z")

</div>

Hello there :slight\_smile: Working on a project for a client, I struggled like hell with an issue with iOS devices. (I remember by the way I already saw @RaananW writting : “Apple…” here on the forum ^^) Here is the b…

---

## [Inspector: Unable to preview texture in WebGL1 engine](https://forum.babylonjs.com/t/inspector-unable-to-preview-texture-in-webgl1-engine/54298)

<div class="topic-metadata">

**Author:** [@kzhsw](https://forum.babylonjs.com/u/kzhsw)\
**Replies:** 2\
**Last updated:** [October 23, 2024, 9:21am UTC](https://forum.babylonjs.com/t/inspector-unable-to-preview-texture-in-webgl1-engine/54298 "2024-10-23T09:21:04Z")

</div>

Version: 7.30.1 Engine: WebGL1 Playground: https://playground.babylonjs.com/#KBS9I5#71 Steps to reproduce: Open the playground Switch to WebGL engine Open inspector Click a texture Expected: Being available t…

---

## [WebGPU/WebGL shader differences](https://forum.babylonjs.com/t/webgpu-webgl-shader-differences/53326)

<div class="topic-metadata">

**Author:** [@Panuchka](https://forum.babylonjs.com/u/Panuchka)\
**Replies:** 29\
**Last updated:** [September 13, 2024, 6:08pm UTC](https://forum.babylonjs.com/t/webgpu-webgl-shader-differences/53326 "2024-09-13T18:08:16Z")

</div>

Hi everyone, long time no post! I have a weird one; testing once again webgpu vs webgl, but I wonder what could be the main issue when I only change the engine and my shading looks completely different in the other engi…

---

## [Some error questions about WEBGPU](https://forum.babylonjs.com/t/some-error-questions-about-webgpu/50143)

<div class="topic-metadata">

**Author:** [@Knifepro](https://forum.babylonjs.com/u/Knifepro)\
**Replies:** 25\
**Last updated:** [May 1, 2024, 3:03pm UTC](https://forum.babylonjs.com/t/some-error-questions-about-webgpu/50143 "2024-05-01T15:03:58Z")

</div>

this.canvas = d.gi(“renderCanvas”); this.motor = new BABYLON.WebGPUEngine(this.canvas, { powerPreference: “high-performance”, }); await this.motor.initAsync(); I want to use webgpu in my scene, but I think I’m makin…

---

## [Babylon.js does not work on the WEBGL engine](https://forum.babylonjs.com/t/babylon-js-does-not-work-on-the-webgl-engine/49938)

<div class="topic-metadata">

**Author:** [@a.dzhakhangirov](https://forum.babylonjs.com/u/a.dzhakhangirov)\
**Replies:** 2\
**Last updated:** [April 23, 2024, 2:34pm UTC](https://forum.babylonjs.com/t/babylon-js-does-not-work-on-the-webgl-engine/49938 "2024-04-23T14:34:05Z")

</div>

Hi. Maybe someone has faced such a problem? BABYLON.JS does not work on WebGL, although it does work on the WEBGPU. Although WEBGL is available in the browser.

---

## [WebGL Shader to fix image disortion (fisheye)](https://forum.babylonjs.com/t/webgl-shader-to-fix-image-disortion-fisheye/19782)

<div class="topic-metadata">

**Author:** [@singerxt](https://forum.babylonjs.com/u/singerxt)\
**Replies:** 4\
**Last updated:** [April 16, 2024, 1:11am UTC](https://forum.babylonjs.com/t/webgl-shader-to-fix-image-disortion-fisheye/19782 "2024-04-16T01:11:34Z")

</div>

Hello, dear community! I’m pretty much new to Babylon.js, WebGL, and 3d rendering. I’m trying to create 180 (fisheye) Video players. I have to support multiple camera models and lenses. My idea to achieve that is to ren…

---

## [The fragment shader material doesn't stay with the object when we drag it around?](https://forum.babylonjs.com/t/the-fragment-shader-material-doesnt-stay-with-the-object-when-we-drag-it-around/43041)

<div class="topic-metadata">

**Author:** [@SNM](https://forum.babylonjs.com/u/SNM)\
**Replies:** 2\
**Last updated:** [August 7, 2023, 3:17pm UTC](https://forum.babylonjs.com/t/the-fragment-shader-material-doesnt-stay-with-the-object-when-we-drag-it-around/43041 "2023-08-07T15:17:19Z")

</div>

How can I make the fragment shader material move with the ground/mesh when it is dragged around? Is it because the custom vector shader is configured for world view projection? Or do I need to set this explicitly usin…

---

## [Set line width for custom mesh primitive types LineListDrawMode and LineStripDrawMode](https://forum.babylonjs.com/t/set-line-width-for-custom-mesh-primitive-types-linelistdrawmode-and-linestripdrawmode/43047)

<div class="topic-metadata">

**Author:** [@giraphics](https://forum.babylonjs.com/u/giraphics)\
**Replies:** 2\
**Last updated:** [August 7, 2023, 2:39am UTC](https://forum.babylonjs.com/t/set-line-width-for-custom-mesh-primitive-types-linelistdrawmode-and-linestripdrawmode/43047 "2023-08-07T02:39:48Z")

</div>

How can I control the line width in the WebGL2 Babylon context? I have a custom mesh made of primitive material types LineListDrawMode and LineStripDrawMode. Essentially, I looking for some API that sets glLineWidth int…

---

## [Webgl lightning strike example in BabylonJs?](https://forum.babylonjs.com/t/webgl-lightning-strike-example-in-babylonjs/39780)

<div class="topic-metadata">

**Author:** [@steelx](https://forum.babylonjs.com/u/steelx)\
**Replies:** 16\
**Last updated:** [August 5, 2023, 10:23pm UTC](https://forum.babylonjs.com/t/webgl-lightning-strike-example-in-babylonjs/39780 "2023-08-05T22:23:26Z")

</div>

I was wondering if anyone has tried to strike a lightning bold on click of a mouse. or any tutorials out there ? Similar to this threejs demo three.js webgl - lightning strike Thanks.

---

## [Disabling light on external mesh](https://forum.babylonjs.com/t/disabling-light-on-external-mesh/42744)

<div class="topic-metadata">

**Author:** [@giraphics](https://forum.babylonjs.com/u/giraphics)\
**Replies:** 6\
**Last updated:** [July 27, 2023, 3:33pm UTC](https://forum.babylonjs.com/t/disabling-light-on-external-mesh/42744 "2023-07-27T15:33:37Z")

</div>

I am trying to disble lighting on my external (.glb) textured mesh. I search through topics and found a solution here How disable shading on the mesh? but it does not seem to work. I am using the disableLighting propert…

---

## [Using Babylon in Three JS context](https://forum.babylonjs.com/t/using-babylon-in-three-js-context/41625)

<div class="topic-metadata">

**Author:** [@giraphics](https://forum.babylonjs.com/u/giraphics)\
**Replies:** 9\
**Last updated:** [June 28, 2023, 1:16pm UTC](https://forum.babylonjs.com/t/using-babylon-in-three-js-context/41625 "2023-06-28T13:16:37Z")

</div>

Hi, I need to render Babylon JS in an external ThreeJS context. For this, I am creating Babylon engine with webgl2 context(with preserveDrawingBuffer= true). I have the detached control from scene (detachControl) and u…

---

## [May cause gl buffer memory leak?](https://forum.babylonjs.com/t/may-cause-gl-buffer-memory-leak/40688)

<div class="topic-metadata">

**Author:** [@Tobepeter](https://forum.babylonjs.com/u/Tobepeter)\
**Replies:** 3\
**Last updated:** [May 11, 2023, 11:33am UTC](https://forum.babylonjs.com/t/may-cause-gl-buffer-memory-leak/40688 "2023-05-11T11:33:36Z")

</div>

On the file buffer.ts navigate to the method Buffer#rebuild I found public \_rebuild(): void { this.\_buffer = null; this.create(this.\_data); } Maybe this will create a new WebGLBuffer lead js untrack We…

---

## [Submesh's 'indexCount' does not updating with shader material](https://forum.babylonjs.com/t/submeshs-indexcount-does-not-updating-with-shader-material/40612)

<div class="topic-metadata">

**Author:** [@giraphics](https://forum.babylonjs.com/u/giraphics)\
**Replies:** 2\
**Last updated:** [May 9, 2023, 1:20pm UTC](https://forum.babylonjs.com/t/submeshs-indexcount-does-not-updating-with-shader-material/40612 "2023-05-09T13:20:16Z")

</div>

Hi Everyone, I have a dynamic lidar point cloud implementation(WebGL) where point counts change per frame. For this implementation: Point cloud is a simple custom mesh(using BABYLON.Mesh and BABYLON.VertexData). My g…

---

## [Unknown error with WebGL (BabylonJs + React + Vite)](https://forum.babylonjs.com/t/unknown-error-with-webgl-babylonjs-react-vite/39924)

<div class="topic-metadata">

**Author:** [@cody0203](https://forum.babylonjs.com/u/cody0203)\
**Replies:** 1\
**Last updated:** [April 16, 2023, 7:24am UTC](https://forum.babylonjs.com/t/unknown-error-with-webgl-babylonjs-react-vite/39924 "2023-04-16T07:24:02Z")

</div>

Hello guys, i’m absolutely new here, and I only have experience with React. I’m starting with my very first Babylon app but I have trouble in my local environment when I use skybox. The playground is still good Playgrou…

---

## [\[solved\] GL\_INVALID\_OPERATION when useOIT + createDefaultEnvironment](https://forum.babylonjs.com/t/solved-gl-invalid-operation-when-useoit-createdefaultenvironment/38236)

<div class="topic-metadata">

**Author:** [@Benjythebee](https://forum.babylonjs.com/u/Benjythebee)\
**Replies:** 1\
**Last updated:** [February 15, 2023, 2:39pm UTC](https://forum.babylonjs.com/t/solved-gl-invalid-operation-when-useoit-createdefaultenvironment/38236 "2023-02-15T14:39:42Z")

</div>

Hello ! I think we’ve found a bug when using useOrderIndependentTransparency + scene.createDefaultEnvironment together… or at least I don’t think it was on purpose. Repro: (Open the console to see the warnings) Ju…

---

## [Needed 3D Engineer](https://forum.babylonjs.com/t/needed-3d-engineer/35563)

<div class="topic-metadata">

**Author:** [@hung\_tran](https://forum.babylonjs.com/u/hung_tran)\
**Replies:** 3\
**Last updated:** [November 12, 2022, 8:13pm UTC](https://forum.babylonjs.com/t/needed-3d-engineer/35563 "2022-11-12T20:13:32Z")

</div>

Hello every body! I’m looking for 3D Graphic Engineer (remote). Company based in Singapore (SEA). Requirement: Strong with 3D (models, textures, materials, and rigging) Experience (+3 years) with programming la…

---

## ['WebGL not supported' Error while running examples on the playground page](https://forum.babylonjs.com/t/webgl-not-supported-error-while-running-examples-on-the-playground-page/25520)

<div class="topic-metadata">

**Author:** [@running\_orion](https://forum.babylonjs.com/u/running_orion)\
**Replies:** 7\
**Last updated:** [July 4, 2022, 2:06pm UTC](https://forum.babylonjs.com/t/webgl-not-supported-error-while-running-examples-on-the-playground-page/25520 "2022-07-04T14:06:14Z")

</div>

I use chrome on a macbook: Macos Big Sur 11.6 Processor: 2 GHz Quad-Core Intel Core i5 Graphics: Intel Iris Plus Graphics 1536 MB When I was running the example on playground, the page show that error message. After s…

---

## [Babylonjs official website wine bottle case is not running properly on ios](https://forum.babylonjs.com/t/babylonjs-official-website-wine-bottle-case-is-not-running-properly-on-ios/29679)

<div class="topic-metadata">

**Author:** [@Cat\_Ghost](https://forum.babylonjs.com/u/Cat_Ghost)\
**Replies:** 10\
**Last updated:** [June 20, 2022, 8:47am UTC](https://forum.babylonjs.com/t/babylonjs-official-website-wine-bottle-case-is-not-running-properly-on-ios/29679 "2022-06-20T08:47:36Z")

</div>

I downloaded it and put it in a more accessible place: https://gcat.cc/ios/ Apple 13, ios 14.5

---

## [Custom mesh with Point primitive does not renders in WebGL2 and gives error on WebGPU](https://forum.babylonjs.com/t/custom-mesh-with-point-primitive-does-not-renders-in-webgl2-and-gives-error-on-webgpu/27846)

<div class="topic-metadata">

**Author:** [@giraphics](https://forum.babylonjs.com/u/giraphics)\
**Replies:** 3\
**Last updated:** [February 21, 2022, 5:15pm UTC](https://forum.babylonjs.com/t/custom-mesh-with-point-primitive-does-not-renders-in-webgl2-and-gives-error-on-webgpu/27846 "2022-02-21T17:15:52Z")

</div>

My requirement is to draw custom mesh with Point primitive. However, I could only draw it a as Line and Triangle primitive in WebGL2 and WebGPU. (No Error reported) When I try using point primitives from standard materi…

---

## [Virtual Store Import to Babylon](https://forum.babylonjs.com/t/virtual-store-import-to-babylon/18433)

<div class="topic-metadata">

**Author:** [@mkaanztrk](https://forum.babylonjs.com/u/mkaanztrk)\
**Replies:** 13\
**Last updated:** [February 18, 2021, 8:56am UTC](https://forum.babylonjs.com/t/virtual-store-import-to-babylon/18433 "2021-02-18T08:56:23Z")

</div>

Greetings, For a few days, i have been trying to build a virtual store in Maya 3D. My main goal is put this scene into Babylon and walk about in it. I’ve tried a few real-time light settings but after many readings I’ve…

---

## [Help understanding (WebGL) extension mechanism?](https://forum.babylonjs.com/t/help-understanding-webgl-extension-mechanism/24919)

<div class="topic-metadata">

**Author:** [@jbl](https://forum.babylonjs.com/u/jbl)\
**Replies:** 4\
**Last updated:** [November 9, 2021, 1:57pm UTC](https://forum.babylonjs.com/t/help-understanding-webgl-extension-mechanism/24919 "2021-11-09T13:57:35Z")

</div>

This has relatively little to do with Babylon.js but I am hoping the community can spare me a post on SO and the hostile feedback that usually goes with that exercise… If I open the default Playground and add scene.debu…

---

## [Disposing Engines – WebGL out of memory](https://forum.babylonjs.com/t/disposing-engines-webgl-out-of-memory/24480)

<div class="topic-metadata">

**Author:** [@Dennis](https://forum.babylonjs.com/u/Dennis)\
**Replies:** 9\
**Last updated:** [October 14, 2021, 6:04pm UTC](https://forum.babylonjs.com/t/disposing-engines-webgl-out-of-memory/24480 "2021-10-14T18:04:09Z")

</div>

Dear BabylonJS community, I am running into WebGL memory issues when disposing BabylonJS engines. BabylonJS is only used within one module of my SPA. That module is not necessarily being used when using the app. This is…

---

## [Different graphics driver being used in Firefox compared to Edge/Chrome](https://forum.babylonjs.com/t/different-graphics-driver-being-used-in-firefox-compared-to-edge-chrome/24061)

<div class="topic-metadata">

**Author:** [@t3hp0larbear](https://forum.babylonjs.com/u/t3hp0larbear)\
**Replies:** 10\
**Last updated:** [September 29, 2021, 3:42pm UTC](https://forum.babylonjs.com/t/different-graphics-driver-being-used-in-firefox-compared-to-edge-chrome/24061 "2021-09-29T15:42:45Z")

</div>

My machine is a Core i7-8700 with an NVidia GTX 1050 Ti. I’ve got a scene that runs pretty well in Chrome and Edge (Chromium 93), but the performance tanks in Firefox 91. According to the scene inspector, we’re using bab…

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