From 0d41a7e6fef60db508cc031c168766a8ede50317 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Matthias=20Kr=C3=BCger?= Date: Wed, 10 Jul 2013 21:29:57 +0200 Subject: [PATCH] add shaderfile. --- scripts/glassx.shader | 21 +++++++++++++++++++++ scripts/shaderlist.txt | 1 + 2 files changed, 22 insertions(+) create mode 100644 scripts/glassx.shader 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 -- 2.39.2