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