From cc78b9899f5ee87316af0909a843377d1cb8008f Mon Sep 17 00:00:00 2001 From: Thomas Debesse Date: Sat, 18 Jan 2020 10:08:45 +0100 Subject: [PATCH] erbium: lightmaps are standalone stages the previous way they were written would only work on DarkPlaces since it only has partial shader support and no real stage support --- scripts/map_erbium.shader | 35 ++++++++++++++++++++++++++++++----- 1 file changed, 30 insertions(+), 5 deletions(-) diff --git a/scripts/map_erbium.shader b/scripts/map_erbium.shader index 7ec886b3..87720441 100644 --- a/scripts/map_erbium.shader +++ b/scripts/map_erbium.shader @@ -271,11 +271,16 @@ textures/map_erbium/fern nopicmip { - map $lightmap map textures/map_erbium/fern blendFunc blend rgbgen identity } + { + map $lightmap + rgbGen identity + tcGen lightmap + blendfunc filter + } } textures/map_erbium/ivy @@ -293,11 +298,16 @@ textures/map_erbium/ivy nopicmip { - map $lightmap map textures/map_erbium/ivy blendFunc blend rgbgen identity } + { + map $lightmap + rgbGen identity + tcGen lightmap + blendfunc filter + } } textures/map_erbium/leaves @@ -311,11 +321,16 @@ textures/map_erbium/leaves nopicmip { - map $lightmap map textures/map_erbium/leaves blendFunc blend rgbgen identity } + { + map $lightmap + rgbGen identity + tcGen lightmap + blendfunc filter + } } textures/map_erbium/leaves2 @@ -329,11 +344,16 @@ textures/map_erbium/leaves2 nopicmip { - map $lightmap map textures/map_erbium/leaves2 blendFunc blend rgbgen identity } + { + map $lightmap + rgbGen identity + tcGen lightmap + blendfunc filter + } } textures/map_erbium/singular-leaf @@ -346,11 +366,16 @@ textures/map_erbium/singular-leaf nopicmip { - map $lightmap map textures/map_erbium/singular-leaf blendFunc blend rgbgen identity } + { + map $lightmap + rgbGen identity + tcGen lightmap + blendfunc filter + } } textures/map_erbium/black-tiles -- 2.39.2