Is there a way to control when lighting is generated?
Hello!
I've currently been stuck on trying to figure out how to get blender materials specifically emmisive ones to work through unity, but haven't been successful. So instead I created some in unity.
Once I swapped the materials out, I was only able to get the emission working on a project with real-time lighting enabled, or getting the result I wanted I guess. The thing is, whenever I instantiate a prefab into the game, the lighting doesn't show.
Would someone be able to explain why the lighting doesn't generate(at all)? Is it because the lighting doesn't generate after the start? Is there some code that needs to be added in to a script to allow for this generation to happen live in game?
I'm very new, and I would say beginner in game development and working with the unity engine.
Thank you and I hope I can finally understand what I would need to do. :)
(Also, is there a render pipeline that one recommends for real-time lighting?)
I think you need to enable real time global illu$$anonymous$$ation in lighting settings, and do enable auto generate (though autogenerate will mess up lighting when loading a scene ingame). Renderpipeline is only needed for quality and better lights (like 2d lights in LWRP).