From 137aedc24132a143341484226705bffe4aa262b8 Mon Sep 17 00:00:00 2001 From: Daniel Svensson Date: Wed, 6 Dec 2023 18:58:19 +0100 Subject: [PATCH] lightpreview: Add support for fence textures. --- lightpreview/glview.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lightpreview/glview.cpp b/lightpreview/glview.cpp index 64df735a..a39e1c87 100644 --- a/lightpreview/glview.cpp +++ b/lightpreview/glview.cpp @@ -1169,6 +1169,10 @@ void GLView::renderBSP(const QString &file, const mbsp_t &bsp, const bspxentries alpha_test = true; } } + } else if (bsp.loadversion->game->id == GAME_QUAKE) { + if (t.starts_with('{')) { + alpha_test = true; + } } material_key k = {.program = program, .texname = t, .opacity = opacity, .alpha_test = alpha_test};