]> de.git.xonotic.org Git - xonotic/xonotic-maps.pk3dir.git/blobdiff - scripts/ex2x.shader
DarkPlaces does not support alphaFunc GT0 and uses GE128 instead
[xonotic/xonotic-maps.pk3dir.git] / scripts / ex2x.shader
index 1fda6c912f8aee5a957d135484df24c316626799..0e4d218702aff0c9c52226d6151bca606b027e2a 100644 (file)
@@ -53,10 +53,11 @@ textures/ex2x/base-chainlink
 
        surfaceparm trans
        cull none
+       surfaceparm alphashadow
 
        {
                map textures/ex2x/base/base_chainlink.tga
-               alphafunc GE128
+               alphaFunc GE128
        }
        {
                map $lightmap
@@ -453,6 +454,28 @@ textures/ex2x/light-beam_red
                map textures/ex2x/light/light_beam_red.tga
                
 
+       }
+       {
+               map $lightmap
+               rgbGen identity
+               tcGen lightmap
+               blendfunc filter
+       }
+}
+textures/ex2x/light-beam_green
+{
+       qer_editorimage textures/ex2x/light/light_beam_green.tga
+       
+       q3map_bounceScale  0.75
+       dpoffsetmapping - 0.5 match8 99
+       dpglossintensitymod  3
+       dpglossexponentmod  4
+
+
+       {
+               map textures/ex2x/light/light_beam_green.tga
+               
+
        }
        {
                map $lightmap