From: Matthias Krüger Date: Wed, 10 Jul 2013 19:29:57 +0000 (+0200) Subject: add shaderfile. X-Git-Tag: xonotic-v0.8.0~34^2 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=0d41a7e6fef60db508cc031c168766a8ede50317;p=xonotic%2Fxonotic-maps.pk3dir.git add shaderfile. --- diff --git a/scripts/glassx.shader b/scripts/glassx.shader new file mode 100644 index 00000000..2640690e --- /dev/null +++ b/scripts/glassx.shader @@ -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 + } +} diff --git a/scripts/shaderlist.txt b/scripts/shaderlist.txt index fd5f8f51..569fa8ae 100644 --- a/scripts/shaderlist.txt +++ b/scripts/shaderlist.txt @@ -13,6 +13,7 @@ exomorphx exx facility114invx facility114x +glassx liquids_lava liquids_slime liquids_water