How to Bake in Babylon.js

Hello and welcome!

Could you tell what output you expect to get (a new GLB file, a set of new textures or something else)?
I believe this quite a long and extremely interesting thread may put some light on your problem - Path Tracing with Babylon, Background and Implementation

Note: