You mean doing your lighting inside BJS, and bake lightmaps on the fly? Sounds like a huuuuuuge task (totally out of my skill, so can’t answer). I’m not sure but maybe dynamic shadows process could be a lead to follow.
Is it possible to automate the process? either code or directly from blender with any node or export setup? to avoid having to put every lightmap by hand every time
In this playground I’ve made an automatic lightmap assignation, using naming convention: https://playground.babylonjs.com/#ADPQFC#9 (all you have to do is to send object names which are lightmapped).
I’m not sure if it’s now possible, but last time I’ve checked we still can’t export lightmap texture using glTF export from Blender (and I think it’s anyway easier to automatically assign them through BJS).
Hi, and hello to the BJS community! It’s been a long time since I’ve been back here, I hope everyone goes well, and I can see BJS is still actively updated, congrats team
I had some changes in my life since a year, these changes include that I’m not a graphic designer anymore. I was thinking of writing an update of this tutorial, using glTF workflow, but I have to say that even in my free time I can’t promise anything about this.
I’m just about to dive into that for my project, but I have zero experience with blender, so if you did managed to update your tutorial, that would be great