In my three.js project, i have a static scene, that I want to add lighting and shadow to. Since its static, I dont need to re-calculate lights and shadow each frame. When it comes to shadows, I can simply set
this._renderer.shadowMap.autoUpdate = false;
this._renderer.shadowMap.needsUpdate = false;
after the first render call. Is there something similar for lighting ? I know i can bake lights in blender, but I would prefer to do it within three.js.
I tried researching, but couldnt find anyhing so far.