Preparation for lightmap generator raycaster