IBL skybox update happens too early

Issue #225 resolved
Jan Hofmeister created an issue

With the new image-based lighting system in place, we still have to fix WHEN the actual capture of the skybox takes place. Peformance-wise it's fastest to not have it constantly update, so setting it to "Once" should be good enough for most scenarios. The problem is: Right now that snapshot is taken at the start of a mission, before hypering into the scene. At that point the planetary objects aren't visible yet, and thus won't be part of the skybox used for lighting.

Thomas allows updating the IBL cubemap via the updateSkybox command, so this has to be called once the hyperspace jump into the mission has finished.

Comments (1)

  1. Log in to comment