From 25472cdc0ff04497dd2c452df0991d584a0ed560 Mon Sep 17 00:00:00 2001 From: Mirio Date: Wed, 23 Nov 2016 16:48:29 +0100 Subject: [PATCH] Fix shader file --- maps/boil.map.options | 2 +- scripts/map_boil.shader | 18 ++---------------- 2 files changed, 3 insertions(+), 17 deletions(-) diff --git a/maps/boil.map.options b/maps/boil.map.options index 82e36068..ffcaece8 100644 --- a/maps/boil.map.options +++ b/maps/boil.map.options @@ -3,4 +3,4 @@ -vis + -minimap + -sRGB -Version: 3 +Version: 3a diff --git a/scripts/map_boil.shader b/scripts/map_boil.shader index edead359..1fd4463e 100644 --- a/scripts/map_boil.shader +++ b/scripts/map_boil.shader @@ -1,20 +1,13 @@ textures/map_boil/credit { qer_editorimage textures/map_boil/credit - dpoffsetmapping none - surfaceparm trans surfaceparm nonsolid - surfaceparm nodlight - surfaceparm nolightmap - polygonOffset - sort 6 cull none - { map textures/map_boil/credit - blendFunc filter + blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA rgbgen identity } } @@ -22,20 +15,13 @@ textures/map_boil/credit textures/map_boil/brush { qer_editorimage textures/map_boil/brush - dpoffsetmapping none - surfaceparm trans surfaceparm nonsolid - surfaceparm nodlight - surfaceparm nolightmap - polygonOffset - sort 6 cull none - { map textures/map_boil/brush - blendFunc filter + blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA rgbgen identity } } \ No newline at end of file -- 2.39.2