]> git.rm.cloudns.org Git - xonotic/xonotic-maps.pk3dir.git/commitdiff
Added refractive glass shader
authorPlasmaSheep <plasmasheep@gmail.com>
Sat, 28 Aug 2010 20:23:25 +0000 (13:23 -0700)
committerPlasmaSheep <plasmasheep@gmail.com>
Sat, 28 Aug 2010 20:23:25 +0000 (13:23 -0700)
scripts/lsp.shader [new file with mode: 0644]
textures/lsp/distort_glass.tga [new file with mode: 0644]
textures/lsp/distort_glass_norm.tga [new file with mode: 0644]

diff --git a/scripts/lsp.shader b/scripts/lsp.shader
new file mode 100644 (file)
index 0000000..4fe6dac
--- /dev/null
@@ -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 (file)
index 0000000..4463ed5
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 (file)
index 0000000..d29f124
Binary files /dev/null and b/textures/lsp/distort_glass_norm.tga differ