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
+1 -1
View File
@@ -47,7 +47,7 @@ idRenderWindow::~idRenderWindow() {
}
void idRenderWindow::CommonInit() {
world = renderSystem->AllocRenderWorld();
world = renderSystem->AllocRenderWorld(dxrWorldId_t::DXR_WORLD_MAINMENU);
needsRender = true;
lightOrigin = idVec4(-128.0f, 0.0f, 0.0f, 1.0f);
lightColor = idVec4(1.0f, 1.0f, 1.0f, 1.0f);