Light Maps in Node Materials

Hey! I’m looking for some best practices in adding lightmaps to node materials (and building pbr-like node materials). Honestly I couldn’t find any solutions or more advanced examples :pray:t2:

@Evgeni_Popov might be able to help with that

1 Like

Welcome aboard!

A lightmap is simply some lights added to the already computed light, so it is just an addition in the node material, which is why there’s no specific handling for it.

Here you can see how it is done for the standard material (see the Lightmap frame): https://nme.babylonjs.com/#AT7YY5#6

See also:

2 Likes