add shaderfile.
authorMatthias Krüger <matthias.krueger@famsik.de>
Wed, 10 Jul 2013 19:29:57 +0000 (21:29 +0200)
committerMatthias Krüger <matthias.krueger@famsik.de>
Wed, 10 Jul 2013 19:29:57 +0000 (21:29 +0200)
scripts/glassx.shader [new file with mode: 0644]
scripts/shaderlist.txt

diff --git a/scripts/glassx.shader b/scripts/glassx.shader
new file mode 100644 (file)
index 0000000..2640690
--- /dev/null
@@ -0,0 +1,21 @@
+textures/glassx/hexglass
+{
+       q3map_bouncescale 3
+       qer_editorimage textures/glassx/hexglass.tga
+       dpreflectcube cubemaps/default/sky
+       dpnoshadow
+       surfaceparm trans
+       surfaceparm alphashadow
+       q3map_lightmapSampleSize 64
+       cull none
+       {
+               map textures/glassx/hexglass.tga
+               blendfunc blend
+               rgbgen lightingDiffuse
+       }
+       {
+               map $lightmap
+               blendfunc GL_DST_COLOR GL_ZERO
+               rgbGen identity
+       }
+}
index fd5f8f5..569fa8a 100644 (file)
@@ -13,6 +13,7 @@ exomorphx
 exx
 facility114invx
 facility114x
+glassx
 liquids_lava
 liquids_slime
 liquids_water