Hi,
I’m trying to duplicate an area light for N times, then place these light to difference locations. After this I want to bake a lightmap. I’m wondering is there a way to do this configure → bake lightmap → play the game?
Thanks very much!
Hi,
I’m trying to duplicate an area light for N times, then place these light to difference locations. After this I want to bake a lightmap. I’m wondering is there a way to do this configure → bake lightmap → play the game?
Thanks very much!
Don’t know if I understand you right! Do you want to hit the play button and automatically bake the lightmap?
If this is what you want, you schould be able to write an editor script for that. You can use use the Lightmapping class