Is babylon automatically compatible with webgl and webgpu?

Am I just going to use the method and not pay particular attention to webgl versus webgpu

It is compatible if you tell to Babylon what to use and check if it is possible to use webGPU (currently, before version 113, it is possible only with beta version of Chrome which needs to be installed separately).
You may have a look how it is done here

3 Likes

This would help doing it for you Babylon.js/engineFactory.ts at 5e224caca6472a7f155443f81f38738d82133a5a · BabylonJS/Babylon.js · GitHub

2 Likes