For setting lighting that applies to both relativeto.world and relativeto.room - the workaround of osgnav.appProxy:getScene() to get that root node is icky and exposes too much internal implementation. I'd almost suggest setting a global called global_state_set right off the bat.
For setting lighting that applies to both relativeto.world and relativeto.room - the workaround of
osgnav.appProxy:getScene()
to get that root node is icky and exposes too much internal implementation. I'd almost suggest setting a global calledglobal_state_set
right off the bat.