From 8de822604ba6fb45ddade6024db5fa780cf8a1d8 Mon Sep 17 00:00:00 2001 From: Maik Merten Date: Sat, 30 Oct 2010 13:32:53 +0200 Subject: [PATCH] define a new shader for warpzone backdrops. This is displayed if the warpzones don't render (no GLSL or r_water disabled). Use this shader on glowplant warpzones. --- maps/glowplant.map | 8 ++++---- scripts/effects_warpzone.shader | 10 ++++++++++ textures/effects_warpzone/warpzone_backdrop.tga | Bin 0 -> 34444 bytes 3 files changed, 14 insertions(+), 4 deletions(-) create mode 100644 textures/effects_warpzone/warpzone_backdrop.tga diff --git a/maps/glowplant.map b/maps/glowplant.map index 58063af4..d88456c7 100644 --- a/maps/glowplant.map +++ b/maps/glowplant.map @@ -12906,7 +12906,7 @@ exx/wall-bigrib02 ( 672 -1248 96 ) ( 1120 -1248 96 ) ( 1088 -1216 128 ) common/caulk -0 0 0 0.25 0.25 0 4 0 ( 1120 -1248 288 ) ( 672 -1248 288 ) ( 704 -1216 256 ) common/caulk -0 0 0 0.25 0.25 0 4 0 ( 672 -1248 288 ) ( 1120 -1248 288 ) ( 1120 -1248 96 ) common/caulk 0 0 0 0.25 0.25 0 4 0 -( 1088 -1216 256 ) ( 704 -1216 256 ) ( 704 -1216 128 ) exx/wall-des01 0 0 0 0.25 0.25 0 4 0 +( 1088 -1216 256 ) ( 704 -1216 256 ) ( 704 -1216 128 ) effects_warpzone/warpzone_backdrop 0 0 0 0.25 0.25 0 4 0 ( 960 -1216 96 ) ( 992 -1248 96 ) ( 960 -1216 288 ) common/caulk 0 0 0 0.25 0.25 0 4 0 ( 800 -1248 96 ) ( 832 -1216 96 ) ( 832 -1216 288 ) common/caulk 0 0 0 0.25 0.25 0 4 0 } @@ -14145,7 +14145,7 @@ map_glowplant/biolumi2_blue-lowlight { ( -784 -144 -208 ) ( -784 144 -48 ) ( -784 -144 -48 ) common/caulk 0 0 0 0.25 0.25 0 4 0 ( -784 144 -48 ) ( -768 128 -192 ) ( -768 128 -64 ) common/caulk -0 0 0 0.25 0.25 0 4 0 -( -768 128 -192 ) ( -768 -128 -64 ) ( -768 128 -64 ) exx/base-metal03 0 0 0 0.25 0.25 0 0 0 +( -768 128 -192 ) ( -768 -128 -64 ) ( -768 128 -64 ) effects_warpzone/warpzone_backdrop 0 0 0 0.25 0.25 0 0 0 ( -784 -144 -48 ) ( -768 -128 -64 ) ( -768 -128 -192 ) common/caulk 0 0 0 0.25 0.25 0 4 0 ( -784 -144 -48 ) ( -768 128 -64 ) ( -768 -128 -64 ) common/caulk 64 0 0 0.25 0.25 0 4 0 ( -784 -144 -208 ) ( -768 -128 -192 ) ( -768 128 -192 ) common/caulk 64 0 0 0.25 0.25 0 4 0 @@ -18313,7 +18313,7 @@ trak5x/base-pipe1c ( 1120 968 416 ) ( 1120 968 288 ) ( 1120 840 416 ) common/caulk 0 0 0 0.25 0.25 0 0 0 ( 1088 840 288 ) ( 1120 840 288 ) ( 1088 968 288 ) common/caulk 0 0 0 0.25 0.25 0 0 0 ( 1088 832 288 ) ( 1088 832 416 ) ( 1120 832 288 ) common/caulk 0 0 0 0.25 0.25 0 0 0 -( 1088 840 288 ) ( 1088 968 288 ) ( 1088 840 416 ) exx/base-metal03 64 0 0 0.25 0.25 0 0 0 +( 1088 840 288 ) ( 1088 968 288 ) ( 1088 840 416 ) effects_warpzone/warpzone_backdrop 64 0 0 0.25 0.25 0 0 0 } { ( 352 1016 256 ) ( 288 1016 256 ) ( 288 824 256 ) common/caulk 128 32 0 0.25 0.25 0 4 0 @@ -25995,7 +25995,7 @@ exx/trim-baseboard02 { ( -64 -320 640 ) ( -64 -448 640 ) ( -128 -320 640 ) common/caulk 0 0 0 0.25 0.25 0 0 0 ( -64 -320 640 ) ( -128 -320 640 ) ( -64 -320 512 ) common/caulk 0 0 0 0.25 0.25 0 0 0 -( -64 -320 640 ) ( -64 -320 512 ) ( -64 -448 640 ) exx/wall-des01 0 0 0 0.25 0.25 0 0 0 +( -64 -320 640 ) ( -64 -320 512 ) ( -64 -448 640 ) effects_warpzone/warpzone_backdrop 0 0 0 0.25 0.25 0 0 0 ( -128 -448 512 ) ( -64 -448 512 ) ( -128 -320 512 ) common/caulk 0 0 0 0.25 0.25 0 0 0 ( -128 -448 512 ) ( -128 -448 640 ) ( -64 -448 512 ) common/caulk 0 0 0 0.25 0.25 0 0 0 ( -128 -448 512 ) ( -128 -320 512 ) ( -128 -448 640 ) common/caulk 0 0 0 0.25 0.25 0 0 0 diff --git a/scripts/effects_warpzone.shader b/scripts/effects_warpzone.shader index ed896e1e..17c8d785 100644 --- a/scripts/effects_warpzone.shader +++ b/scripts/effects_warpzone.shader @@ -36,3 +36,13 @@ textures/effects_warpzone/rededge blendfunc add } } + +textures/effects_warpzone/warpzone_backdrop +{ + surfaceparm nomarks + nolightmap + { + tcMod turb 0 0.4 0 0.08 + map textures/effects_warpzone/warpzone_backdrop + } +} diff --git a/textures/effects_warpzone/warpzone_backdrop.tga b/textures/effects_warpzone/warpzone_backdrop.tga new file mode 100644 index 0000000000000000000000000000000000000000..aea6745324b010aaa6ed6b4dfd77d604915d1e8b GIT binary patch literal 34444 zcmeI&PfEi;7>4noOHbe>^cEEYqM%m1fO~J@ja+)Q+6Xb3FMR3Xsv*BZNk`i*-n`E< zf3%dV^7q)4-F5lwhaboH?|)vuPM`A~V}A0e`y>x}Ecr!0^g}oYngv}jK`wChB1%v7>|v97`Vu; zc)<%^w#$pNjQrknBR6tm&PQBR-~}&u!AtZ)>zF_IgFpDA)fe%7{J|gmv0Z;S%gFCN zH*zC4=6qO7)O^T89!tK^5B<=O_W1-ac)<%^`VQEO)h>|7JP&6XxhwQ#-WUH9J@!RE z^kZqQr62mCAEPhh-ZYN!f)~8tC3>NC%pd&0AKUeZvyA-Sb0ar$W6nohW8eiZc)?5b zLhG16_=7+AqtzGjef+^6{IOksILpZIJvVYAH|Bg;OVoVGLmo@M&=394kM{WlFL=QV sUiuE$i`6cW$2<>b8M!O;W!{(5PktXSPlx?$_uM@`+`Qd&_xs!O161PIVE_OC literal 0 HcmV?d00001 -- 2.39.2