]> git.xonotic.org Git - xonotic/xonotic-maps.pk3dir.git/commitdiff
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 fd5f8f51921afbd225fd965842cf301f4b60326b..569fa8ae0ad15983140dce75300e94bbbf262654 100644 (file)
@@ -13,6 +13,7 @@ exomorphx
 exx
 facility114invx
 facility114x
+glassx
 liquids_lava
 liquids_slime
 liquids_water