fix glassx shader
[xonotic/xonotic-maps.pk3dir.git] / scripts / glassx.shader
1 textures/glassx/hexglass
2 {
3         q3map_bouncescale 3
4         qer_editorimage textures/glassx/base/hexglass.tga
5         dpreflectcube cubemaps/default/sky
6         dpnoshadow
7         surfaceparm trans
8         surfaceparm alphashadow
9         q3map_lightmapSampleSize 64
10         cull none
11         {
12                 map textures/glassx/base/hexglass.tga
13                 blendfunc blend
14                 rgbgen lightingDiffuse
15         }
16         {
17                 map $lightmap
18                 blendfunc GL_DST_COLOR GL_ZERO
19                 rgbGen identity
20         }
21 }