From: Thomas Debesse Date: Sat, 18 Jan 2020 09:08:45 +0000 (+0100) Subject: erbium: lightmaps are standalone stages X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=cc78b9899f5ee87316af0909a843377d1cb8008f;p=xonotic%2Fxonotic-maps.pk3dir.git 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 --- 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