]> git.xonotic.org Git - xonotic/xonotic-maps.pk3dir.git/blobdiff - scripts/glassx.shader
Merge branch 'master' into divVerent/opera-by-morphed
[xonotic/xonotic-maps.pk3dir.git] / scripts / glassx.shader
diff --git a/scripts/glassx.shader b/scripts/glassx.shader
new file mode 100644 (file)
index 0000000..d82d647
--- /dev/null
@@ -0,0 +1,20 @@
+textures/glassx/hexglass
+{
+       q3map_bouncescale 3
+       qer_editorimage textures/glassx/base/hexglass.tga
+       dpreflectcube cubemaps/default/sky
+       dpnoshadow
+       surfaceparm trans
+       surfaceparm alphashadow
+       q3map_lightmapSampleSize 64
+       {
+               map textures/glassx/base/hexglass.tga
+               blendfunc blend
+               rgbgen lightingDiffuse
+       }
+       {
+               map $lightmap
+               blendfunc GL_DST_COLOR GL_ZERO
+               rgbGen identity
+       }
+}