From: PlasmaSheep Date: Sat, 28 Aug 2010 20:23:25 +0000 (-0700) Subject: Added refractive glass shader X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=36bc14750fddadeeaa98cb811c73f60bd3f1764b;p=xonotic%2Fxonotic-maps.pk3dir.git Added refractive glass shader --- diff --git a/scripts/lsp.shader b/scripts/lsp.shader new file mode 100644 index 00000000..4fe6dac9 --- /dev/null +++ b/scripts/lsp.shader @@ -0,0 +1,18 @@ +textures/lsp/distort_glass +{ + // Thanks to Micrea Kitsune/Taoki for this one + qer_editorimage textures/red_planet/distort_glass.tga + surfaceparm trans + q3map_bounceScale 0.75 + { + map textures/red_planet/distort_glass.tga + blendfunc blend + } + { + map $lightmap + rgbGen identity + tcGen lightmap + blendfunc filter + } + dp_water 0.1 0.8 3 3 1 1 1 1 1 1 0.125 +} diff --git a/textures/lsp/distort_glass.tga b/textures/lsp/distort_glass.tga new file mode 100644 index 00000000..4463ed5e Binary files /dev/null and b/textures/lsp/distort_glass.tga differ diff --git a/textures/lsp/distort_glass_norm.tga b/textures/lsp/distort_glass_norm.tga new file mode 100644 index 00000000..d29f124c Binary files /dev/null and b/textures/lsp/distort_glass_norm.tga differ