X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;f=scripts%2Fglassx.shader;fp=scripts%2Fglassx.shader;h=d82d647ab87d14150abf58f2ca65b24e6f7b3c1f;hb=55b40ba6ec734f14312e1ecee5c3b9631580ca64;hp=0000000000000000000000000000000000000000;hpb=17c94480c2e28a606efc20b824c4edd42b87dc85;p=xonotic%2Fxonotic-maps.pk3dir.git diff --git a/scripts/glassx.shader b/scripts/glassx.shader new file mode 100644 index 00000000..d82d647a --- /dev/null +++ b/scripts/glassx.shader @@ -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 + } +}