From: Rudolf Polzer Date: Sat, 25 Sep 2010 11:51:34 +0000 (+0200) Subject: moving warpzone shaders to effects_warpzone X-Git-Tag: xonotic-v0.1.0preview~151^2~3 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=9d6ed4b669a509a5a42cb86f41086fc6b57ef62d;p=xonotic%2Fxonotic-maps.pk3dir.git moving warpzone shaders to effects_warpzone --- diff --git a/scripts/effects_warpzone.shader b/scripts/effects_warpzone.shader new file mode 100644 index 00000000..81761ec1 --- /dev/null +++ b/scripts/effects_warpzone.shader @@ -0,0 +1,38 @@ +textures/warpzone/warpzone-wavy +{ + surfaceparm nolightmap + // surfaceparm nonsolid // no, it must be solid like trigger + surfaceparm trans + surfaceparm nomarks + { + map textures/warpzone/warpzone-wavy.tga + tcMod scroll 0.06 0.06 + blendfunc blend + } + dp_camera + dp_refract 1 1 1 1 // makes the camera render like a refraction +} + +textures/warpzone/warpzone-blueedge +{ + surfaceparm nonsolid + surfaceparm nomarks + q3map_surfacelight 2500 + cull none + { + map textures/warpzone/warpzone-blueedge.tga + blendfunc add + } +} + +textures/warpzone/warpzone-rededge +{ + surfaceparm nonsolid + surfaceparm nomarks + q3map_surfacelight 2500 + cull none + { + map textures/warpzone/warpzone-rededge.tga + blendfunc add + } +} diff --git a/scripts/warpzone.shader b/scripts/warpzone.shader deleted file mode 100644 index 81761ec1..00000000 --- a/scripts/warpzone.shader +++ /dev/null @@ -1,38 +0,0 @@ -textures/warpzone/warpzone-wavy -{ - surfaceparm nolightmap - // surfaceparm nonsolid // no, it must be solid like trigger - surfaceparm trans - surfaceparm nomarks - { - map textures/warpzone/warpzone-wavy.tga - tcMod scroll 0.06 0.06 - blendfunc blend - } - dp_camera - dp_refract 1 1 1 1 // makes the camera render like a refraction -} - -textures/warpzone/warpzone-blueedge -{ - surfaceparm nonsolid - surfaceparm nomarks - q3map_surfacelight 2500 - cull none - { - map textures/warpzone/warpzone-blueedge.tga - blendfunc add - } -} - -textures/warpzone/warpzone-rededge -{ - surfaceparm nonsolid - surfaceparm nomarks - q3map_surfacelight 2500 - cull none - { - map textures/warpzone/warpzone-rededge.tga - blendfunc add - } -} diff --git a/textures/effects_warpzone/blueedge.tga b/textures/effects_warpzone/blueedge.tga new file mode 100644 index 00000000..fd290ae5 Binary files /dev/null and b/textures/effects_warpzone/blueedge.tga differ diff --git a/textures/effects_warpzone/rededge.tga b/textures/effects_warpzone/rededge.tga new file mode 100644 index 00000000..ce0dc6fc Binary files /dev/null and b/textures/effects_warpzone/rededge.tga differ diff --git a/textures/effects_warpzone/wavy.tga b/textures/effects_warpzone/wavy.tga new file mode 100644 index 00000000..1a6dcdde Binary files /dev/null and b/textures/effects_warpzone/wavy.tga differ diff --git a/textures/effects_warpzone/wavy_norm.tga b/textures/effects_warpzone/wavy_norm.tga new file mode 100644 index 00000000..86e98022 Binary files /dev/null and b/textures/effects_warpzone/wavy_norm.tga differ diff --git a/textures/warpzone/warpzone-blueedge.tga b/textures/warpzone/warpzone-blueedge.tga deleted file mode 100644 index fd290ae5..00000000 Binary files a/textures/warpzone/warpzone-blueedge.tga and /dev/null differ diff --git a/textures/warpzone/warpzone-rededge.tga b/textures/warpzone/warpzone-rededge.tga deleted file mode 100644 index ce0dc6fc..00000000 Binary files a/textures/warpzone/warpzone-rededge.tga and /dev/null differ diff --git a/textures/warpzone/warpzone-wavy.tga b/textures/warpzone/warpzone-wavy.tga deleted file mode 100644 index 1a6dcdde..00000000 Binary files a/textures/warpzone/warpzone-wavy.tga and /dev/null differ diff --git a/textures/warpzone/warpzone-wavy_norm.tga b/textures/warpzone/warpzone-wavy_norm.tga deleted file mode 100644 index 86e98022..00000000 Binary files a/textures/warpzone/warpzone-wavy_norm.tga and /dev/null differ