Raytracing backend now supports multiple worlds.

This commit is contained in:
Justin Marshall
2026-04-22 23:23:49 -07:00
parent a678dda40e
commit ef5b5f107d
18 changed files with 961 additions and 485 deletions
@@ -241,7 +241,7 @@ void idGLDrawableView::ResetView( void ) {
void idGLDrawableView::InitWorld() {
if ( world == NULL ) {
world = renderSystem->AllocRenderWorld();
world = renderSystem->AllocRenderWorld(dxrWorldId_t::DXR_MATERIAL_PREVIEW);
}
if ( worldModel == NULL ) {
worldModel = renderModelManager->AllocModel();