If you want to generate your game scene during runtime instead of loading a prebuilt one, you may set the string
"empty" or an empty string
"" as scene file name:
// loads an empty scene LoadScene("empty", "NewGame", "GameLoop");
// does the same as the example above LoadScene("", "NewGame", "GameLoop");
By choosing an empty scene, the user tells EE to create a scene without loading entities from an .ESC file.
For dynamically generated scenes, it is recommended to use only dynamic lighting by calling
EnableLightmaps(false) in order to disable all static lighting. The only drawback is that the shadows won't look as good as they look as static shades.