#Generated lightdata doesnt work in build

1 messages · Page 1 of 1 (latest)

spiral blaze
#

I want to instansiate rooms to my map but I can generate the lightdata in game, so the image shows the room to the left that was placed there and generated the light data pre game start and the room to the right was instaansiated with light probes and reflection probe, but how do I achive the same as the generated light data for instanciated rooms?

#

The reflection probes is realtime and the global ilumination is realtime

deft comet
spiral blaze
#

and you cant generate lightdata in runtime so I dont know how I can do it for instantiated objects

deft comet
#

Lighting data is per scene, unless associated with prefabs using custom scripts which can be done for baked GI but not sure about precomputed realtime GI

spiral blaze
#

whats the best solution? I know one I can generate the lightdata for the room in anther scene and then async open the anather scene into the main scene but I cant move the room around because its static for the lighting

deft comet
#

Light probes are another problem to solve

spiral blaze
spiral blaze
#

nope I cant get the guithub scrips to work. I make a prefab and ads it to its own scene and the script to the prefab generate the lighting and instansiate the prefab into anather scene and it doesnt work