My team are pretty deep using glb as our primary format, but it’s come up lately that we need a way to include lightmaps in our projects, however this is not supported natively with glb. So I’m thinking feed it to the subsurface channel, and in blender set a custom property like “subsurface becomes lightmap” on an object, possible a second property to specify which material.(subsurface_as_lightmap = True, or something like this) Is it feasible to tell babylon to look at said custom property on a material by material basis to feed that lightmap through? I can’t see a reason we’d want both a lightmap and a subsurface texture on our environments. For the record I am not a coder and ask this question as an environment artist.
Aitolda
1
I think this post should help you:
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| GLTF - Hijacking "specularColorTexture" channel for Lightmap | 6 | 431 | January 26, 2024 | |
| Lightmaps / Shadowmaps / Tiled Textures | 18 | 1952 | October 26, 2022 | |
| How to add a shadowmap to a GLB | 4 | 1158 | May 12, 2023 | |
| Standard Materials / Texture Maps and Lightmaps | 5 | 831 | May 19, 2023 | |
| Lightmap not working | 6 | 1619 | April 7, 2021 |