Preparations for thread workers, which will be used for shadow rendering in the future