How to Bake in Babylon.js

I plan to implement the basic “bake” function on Babylon.js to get the lighting information of the scene. What I want to know is whether there is an interface to directly obtain lighting information? Or is there any related plugin that can solve this problem? My current idea is to calculate the lighting information through the UV for baking and ray tracing or global illumination algorithm, and then superimpose it with the original map. I wonder if there is a problem with my technical route?

1 Like

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:

Hello @WhitneySun529 just checking in, was your question answered? :slight_smile: