How to properly setup BakedLightmap for my gameplay scene?
Hi guys, I've develop my game (a platformer game) and I really dont know how to properly place and bake a Lightmap.
So this is my Gameplay Scene NodeTree.
As you see, I place the directional light, world environtment, main camera, and player here.
And the Node 'Stages' will child the Stage that player choose in the MainMenu.
Here is how the gameplay:
I have 20 stage scenes, and saved as different scene (.tscn file). In the main menu, player can choose which stage to play. When player choose it, the scene will change to the gameplay scene, and the gameplay scene will instance the stage that the player choose and child it to 'Stages' Node.
Here is example of the stage NodeTree:
The Stage tree compose of this object: 'GridMap' node is the stage layout, and saveral other object like checkpoint, obstacle, etc as child of the other Node.
So what I want to ask is:
1. Where do I put and bake the BakedLightmap? In the Gameplay scene or each one of the 20 stage scene?
2. How to generate lightmap for GridMap?
Thanks for your help.