]> git.xonotic.org Git - xonotic/xonotic-maps.pk3dir.git/blobdiff - scripts/map_warfare.shader
Merge branch 'master' into divVerent/opera-by-morphed
[xonotic/xonotic-maps.pk3dir.git] / scripts / map_warfare.shader
diff --git a/scripts/map_warfare.shader b/scripts/map_warfare.shader
new file mode 100644 (file)
index 0000000..4a546c2
--- /dev/null
@@ -0,0 +1,112 @@
+textures/map_warfare/rocktosoil
+{
+    qer_editorimage textures/map_warfare/rocktosoil
+
+    dpoffsetmapping - 2 match8 168
+    dpglossintensitymod 1.5
+    dpglossexponentmod 4
+
+    q3map_lightmapsampleoffset 8
+    q3map_nonplanar
+    q3map_shadeangle 90
+    q3map_alphamod dotproduct2 ( 0 0 1 )
+    {
+        map textures/phillipk2x/natural/pk02_rock01
+    }
+    {
+        map textures/phillipk2x/natural/pk02_sand01
+        blendfunc blend
+        alphagen vertex
+    }
+    {
+        map $lightmap
+        rgbgen identity
+        tcgen lightmap
+        blendfunc filter
+    }
+}
+
+textures/map_warfare/env
+{
+    qer_editorimage textures/map_warfare/env
+    qer_trans 0.5
+
+    surfaceparm trans
+    {
+        map textures/map_warfare/env
+        blendfunc add
+        tcgen environment
+    }
+}
+
+textures/map_warfare/floor_panel
+{
+    qer_editorimage textures/map_warfare/floor_panel
+    qer_alphafunc qequal 0.5
+
+    dpoffsetmapping - 2 match8 172
+    dpglossintensitymod 1.5
+    dpglossexponentmod 4
+
+    surfaceparm metalsteps
+    surfaceparm trans
+    surfaceparm nonsolid
+
+    q3map_bouncescale 0.75
+
+    polygonoffset
+    {
+        map textures/map_warfare/floor_panel
+        alphaFunc GE128
+    }
+    {
+        map $lightmap
+        rgbgen identity
+        tcgen lightmap
+        blendfunc filter
+    }
+}
+
+textures/map_warfare/sky
+{
+    qer_editorimage textures/skies/exosystem
+
+    surfaceparm noimpact
+    surfaceparm nolightmap
+    surfaceparm nodlight
+    surfaceparm nomarks
+    surfaceparm sky
+
+    q3map_sunext 1 1 1 350 60 42 3 16
+    q3map_lightmapfilterradius 0 8
+    q3map_skylight 400 4
+
+    skyparms env/exosystem/exosystem - -
+}
+
+textures/map_warfare/cactus
+{
+    qer_editorimage textures/map_warfare/cactus
+    qer_alphafunc qequal 0.5
+
+    dpoffsetmapping - 2 match8 68
+    dpglossintensitymod 1.5
+    dpglossexponentmod 4
+
+    surfaceparm trans
+    surfaceparm alphashadow
+    surfaceparm nonsolid
+
+    cull none
+    {
+        map textures/map_warfare/cactus
+        alphaFunc GE128
+    }
+    {
+        map $lightmap
+        rgbgen identity
+        tcgen lightmap
+        blendfunc filter
+    }
+}
+