From b34c6257988111394bba8cea9520d44780120825 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C2=ABBielBdeLuna=C2=BB?= <«7318.tk@gmail.com»> Date: Thu, 20 Jun 2024 18:19:36 +0200 Subject: [PATCH] added a easier material name for portal skies --- neo/renderer/RenderWorld_load.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neo/renderer/RenderWorld_load.cpp b/neo/renderer/RenderWorld_load.cpp index f1605d77..86af311e 100644 --- a/neo/renderer/RenderWorld_load.cpp +++ b/neo/renderer/RenderWorld_load.cpp @@ -655,7 +655,7 @@ void idRenderWorldLocal::AddWorldModelEntities() { for ( int j = 0; j < hModel->NumSurfaces(); j++ ) { const modelSurface_t *surf = hModel->Surface( j ); - if ( surf->shader->GetName() == idStr( "textures/smf/portal_sky" ) ) { + if ( ( surf->shader->GetName() == idStr( "textures/smf/portal_sky" ) ) || ( surf->shader->GetName() == idStr( "textures/editor/portal_sky" ) ) ) { def->needsPortalSky = true; } }