]> de.git.xonotic.org Git - xonotic/xonotic-maps.pk3dir.git/blobdiff - scripts/phillipk2x.shader
DarkPlaces does not support alphaFunc GT0 and uses GE128 instead
[xonotic/xonotic-maps.pk3dir.git] / scripts / phillipk2x.shader
index a57007ed4e9921591ce0fcb747ba54fbbaaf3e11..f8e3ab7f478666edf7c39756c579498f7de8233d 100644 (file)
@@ -3,9 +3,11 @@
 textures/phillipk2x/base-pk02_generic01a
 {
     qer_editorimage textures/phillipk2x/base/pk02_generic01a
+
     dpoffsetmapping - .09346482113770383774 match8 106.75988500000000000000
     dpglossintensitymod 3
     dpglossexponentmod 4
+
     q3map_bouncescale 1.25
     {
         map textures/phillipk2x/base/pk02_generic01a
@@ -21,9 +23,11 @@ textures/phillipk2x/base-pk02_generic01a
 textures/phillipk2x/base-pk02_generic01b
 {
     qer_editorimage textures/phillipk2x/base/pk02_generic01b
+
     dpoffsetmapping - .09346482113770383774 match8 106.75988500000000000000
     dpglossintensitymod 3
     dpglossexponentmod 4
+
     q3map_bouncescale 1.25
     {
         map textures/phillipk2x/base/pk02_generic01b
@@ -41,9 +45,11 @@ textures/phillipk2x/base-pk02_generic01b
 textures/phillipk2x/ceiling-pk02_ceiling02
 {
     qer_editorimage textures/phillipk2x/ceiling/pk02_ceiling02
+
     dpoffsetmapping - 2.43683954962048605068 match8 145.65134900000000000000
     dpglossintensitymod 3
     dpglossexponentmod 4
+
     q3map_bouncescale 1.25
     {
         map textures/phillipk2x/ceiling/pk02_ceiling02
@@ -59,9 +65,11 @@ textures/phillipk2x/ceiling-pk02_ceiling02
 textures/phillipk2x/ceiling-pk02_ceiling03
 {
     qer_editorimage textures/phillipk2x/ceiling/pk02_ceiling03
+
     dpoffsetmapping - 2.28561453043269128410 match8 217.90076000000000000000
     dpglossintensitymod 3
     dpglossexponentmod 4
+
     q3map_bouncescale 1.25
     {
         map textures/phillipk2x/ceiling/pk02_ceiling03
@@ -79,9 +87,11 @@ textures/phillipk2x/ceiling-pk02_ceiling03
 textures/phillipk2x/computer-pk02_computer01a
 {
     qer_editorimage textures/phillipk2x/computer/pk02_computer01a
+
     dpoffsetmapping - 2.44544444818460746726 match8 146.75764600000000000000
     dpglossintensitymod 3
     dpglossexponentmod 4
+
     q3map_bouncescale 1.25
     {
         map textures/phillipk2x/computer/pk02_computer01a
@@ -97,9 +107,11 @@ textures/phillipk2x/computer-pk02_computer01a
 textures/phillipk2x/computer-pk02_computer01b
 {
     qer_editorimage textures/phillipk2x/computer/pk02_computer01b
+
     dpoffsetmapping - 2.15797648768326187223 match8 172.59897100000000000000
     dpglossintensitymod 3
     dpglossexponentmod 4
+
     q3map_bouncescale 1.25
     {
         map textures/phillipk2x/computer/pk02_computer01b
@@ -115,9 +127,11 @@ textures/phillipk2x/computer-pk02_computer01b
 textures/phillipk2x/computer-pk02_computer01c
 {
     qer_editorimage textures/phillipk2x/computer/pk02_computer01c
+
     dpoffsetmapping - 2.25462705904951047120 match8 184.64593700000000000000
     dpglossintensitymod 3
     dpglossexponentmod 4
+
     q3map_bouncescale 1.25
     {
         map textures/phillipk2x/computer/pk02_computer01c
@@ -133,9 +147,11 @@ textures/phillipk2x/computer-pk02_computer01c
 textures/phillipk2x/computer-pk02_switches01a
 {
     qer_editorimage textures/phillipk2x/computer/pk02_switches01a
+
     dpoffsetmapping - .91496159798169513312 match8 179.71922600000000000000
     dpglossintensitymod 3
     dpglossexponentmod 4
+
     q3map_bouncescale 1.25
     {
         map textures/phillipk2x/computer/pk02_switches01a
@@ -151,9 +167,11 @@ textures/phillipk2x/computer-pk02_switches01a
 textures/phillipk2x/computer-pk02_switches01b
 {
     qer_editorimage textures/phillipk2x/computer/pk02_switches01b
+
     dpoffsetmapping - .85278027354821032070 match8 102.70414000000000000000
     dpglossintensitymod 3
     dpglossexponentmod 4
+
     q3map_bouncescale 1.25
     {
         map textures/phillipk2x/computer/pk02_switches01b
@@ -169,9 +187,11 @@ textures/phillipk2x/computer-pk02_switches01b
 textures/phillipk2x/computer-pk02_switches01c
 {
     qer_editorimage textures/phillipk2x/computer/pk02_switches01c
+
     dpoffsetmapping - .68120712951256245813 match8 89.89403100000000000000
     dpglossintensitymod 3
     dpglossexponentmod 4
+
     q3map_bouncescale 1.25
     {
         map textures/phillipk2x/computer/pk02_switches01c
@@ -195,9 +215,11 @@ textures/phillipk2x/decals-pk02_dec_num00
     dpglossexponentmod 4
 
     surfaceparm trans
+
+    polygonoffset
+    sort banner
     {
         map textures/phillipk2x/decals/pk02_dec_num00
-        alphafunc GT0
     }
     {
         map $lightmap
@@ -216,12 +238,16 @@ textures/phillipk2x/decals-pk02_dec_num01
     dpglossexponentmod 4
 
     surfaceparm trans
+
+    polygonoffset
+    sort banner
     {
         map textures/phillipk2x/decals/pk02_dec_num01
-        alphafunc GT0
     }
     {
         map $lightmap
+        rgbgen identity
+        tcgen lightmap
         blendfunc filter
     }
 }
@@ -235,12 +261,16 @@ textures/phillipk2x/decals-pk02_dec_num02
     dpglossexponentmod 4
 
     surfaceparm trans
+
+    polygonoffset
+    sort banner
     {
         map textures/phillipk2x/decals/pk02_dec_num02
-        alphafunc GT0
     }
     {
         map $lightmap
+        rgbgen identity
+        tcgen lightmap
         blendfunc filter
     }
 }
@@ -254,11 +284,16 @@ textures/phillipk2x/decals-pk02_dec_num03
     dpglossexponentmod 4
 
     surfaceparm trans
+
+    polygonoffset
+    sort banner
     {
         map textures/phillipk2x/decals/pk02_dec_num03
     }
     {
         map $lightmap
+        rgbgen identity
+        tcgen lightmap
         blendfunc filter
     }
 }
@@ -272,12 +307,16 @@ textures/phillipk2x/decals-pk02_dec_num04
     dpglossexponentmod 4
 
     surfaceparm trans
+
+    polygonoffset
+    sort banner
     {
         map textures/phillipk2x/decals/pk02_dec_num04
-        alphafunc GT0
     }
     {
         map $lightmap
+        rgbgen identity
+        tcgen lightmap
         blendfunc filter
     }
 }
@@ -291,12 +330,16 @@ textures/phillipk2x/decals-pk02_dec_num05
     dpglossexponentmod 4
 
     surfaceparm trans
+
+    polygonoffset
+    sort banner
     {
         map textures/phillipk2x/decals/pk02_dec_num05
-        alphafunc GT0
     }
     {
         map $lightmap
+        rgbgen identity
+        tcgen lightmap
         blendfunc filter
     }
 }
@@ -310,12 +353,16 @@ textures/phillipk2x/decals-pk02_dec_num06
     dpglossexponentmod 4
 
     surfaceparm trans
+
+    polygonoffset
+    sort banner
     {
         map textures/phillipk2x/decals/pk02_dec_num06
-        alphafunc GT0
     }
     {
         map $lightmap
+        rgbgen identity
+        tcgen lightmap
         blendfunc filter
     }
 }
@@ -329,12 +376,16 @@ textures/phillipk2x/decals-pk02_dec_num07
     dpglossexponentmod 4
 
     surfaceparm trans
+
+    polygonoffset
+    sort banner
     {
         map textures/phillipk2x/decals/pk02_dec_num07
-        alphafunc GT0
     }
     {
         map $lightmap
+        rgbgen identity
+        tcgen lightmap
         blendfunc filter
     }
 }
@@ -348,12 +399,16 @@ textures/phillipk2x/decals-pk02_dec_num08
     dpglossexponentmod 4
 
     surfaceparm trans
+
+    polygonoffset
+    sort banner
     {
         map textures/phillipk2x/decals/pk02_dec_num08
-        alphafunc GT0
     }
     {
         map $lightmap
+        rgbgen identity
+        tcgen lightmap
         blendfunc filter
     }
 }
@@ -367,12 +422,16 @@ textures/phillipk2x/decals-pk02_dec_num09
     dpglossexponentmod 4
 
     surfaceparm trans
+
+    polygonoffset
+    sort banner
     {
         map textures/phillipk2x/decals/pk02_dec_num09
-        alphafunc GT0
     }
     {
         map $lightmap
+        rgbgen identity
+        tcgen lightmap
         blendfunc filter
     }
 }
@@ -386,12 +445,16 @@ textures/phillipk2x/decals-pk02_dec_numa
     dpglossexponentmod 4
 
     surfaceparm trans
+
+    polygonoffset
+    sort banner
     {
         map textures/phillipk2x/decals/pk02_dec_numa
-        alphafunc GT0
     }
     {
         map $lightmap
+        rgbgen identity
+        tcgen lightmap
         blendfunc filter
     }
 }
@@ -405,12 +468,16 @@ textures/phillipk2x/decals-pk02_dec_numb
     dpglossexponentmod 4
 
     surfaceparm trans
+
+    polygonoffset
+    sort banner
     {
         map textures/phillipk2x/decals/pk02_dec_numb
-        alphafunc GT0
     }
     {
         map $lightmap
+        rgbgen identity
+        tcgen lightmap
         blendfunc filter
     }
 }
@@ -424,12 +491,16 @@ textures/phillipk2x/decals-pk02_dec_numc
     dpglossexponentmod 4
 
     surfaceparm trans
+
+    polygonoffset
+    sort banner
     {
         map textures/phillipk2x/decals/pk02_dec_numc
-        alphafunc GT0
     }
     {
         map $lightmap
+        rgbgen identity
+        tcgen lightmap
         blendfunc filter
     }
 }
@@ -439,9 +510,11 @@ textures/phillipk2x/decals-pk02_dec_numc
 textures/phillipk2x/floor-pk02_floor01
 {
     qer_editorimage textures/phillipk2x/floor/pk02_floor01
+
     dpoffsetmapping - .92972729810015567152 match8 159.45891600000000000000
     dpglossintensitymod 3
     dpglossexponentmod 4
+
     q3map_bouncescale 1.25
     {
         map textures/phillipk2x/floor/pk02_floor01
@@ -457,9 +530,11 @@ textures/phillipk2x/floor-pk02_floor01
 textures/phillipk2x/floor-pk02_floor02
 {
     qer_editorimage textures/phillipk2x/floor/pk02_floor02
+
     dpoffsetmapping - 1.24589583156603252831 match8 185.21921500000000000000
     dpglossintensitymod 3
     dpglossexponentmod 4
+
     q3map_bouncescale 1.25
     {
         map textures/phillipk2x/floor/pk02_floor02
@@ -475,9 +550,11 @@ textures/phillipk2x/floor-pk02_floor02
 textures/phillipk2x/floor-pk02_floor03
 {
     qer_editorimage textures/phillipk2x/floor/pk02_floor03
+
     dpoffsetmapping - 1.41485842273839656904 match8 169.98378700000000000000
     dpglossintensitymod 3
     dpglossexponentmod 4
+
     q3map_bouncescale 1.25
     {
         map textures/phillipk2x/floor/pk02_floor03
@@ -493,9 +570,11 @@ textures/phillipk2x/floor-pk02_floor03
 textures/phillipk2x/floor-pk02_floor04
 {
     qer_editorimage textures/phillipk2x/floor/pk02_floor04
+
     dpoffsetmapping - .29796735446294515387 match8 86.57768000000000000000
     dpglossintensitymod 3
     dpglossexponentmod 4
+
     q3map_bouncescale 1.25
     {
         map textures/phillipk2x/floor/pk02_floor04
@@ -511,9 +590,11 @@ textures/phillipk2x/floor-pk02_floor04
 textures/phillipk2x/floor-pk02_floor05
 {
     qer_editorimage textures/phillipk2x/floor/pk02_floor05
+
     dpoffsetmapping - 1.11191599059862519249 match8 93.30956900000000000000
     dpglossintensitymod 3
     dpglossexponentmod 4
+
     q3map_bouncescale 1.25
     {
         map textures/phillipk2x/floor/pk02_floor05
@@ -529,9 +610,11 @@ textures/phillipk2x/floor-pk02_floor05
 textures/phillipk2x/floor-pk02_floor06a
 {
     qer_editorimage textures/phillipk2x/floor/pk02_floor06a
+
     dpoffsetmapping - .34071217533949755594 match8 154.87002000000000000000
     dpglossintensitymod 3
     dpglossexponentmod 4
+
     q3map_bouncescale 1.25
     {
         map textures/phillipk2x/floor/pk02_floor06a
@@ -547,9 +630,11 @@ textures/phillipk2x/floor-pk02_floor06a
 textures/phillipk2x/floor-pk02_floor06b
 {
     qer_editorimage textures/phillipk2x/floor/pk02_floor06b
+
     dpoffsetmapping - .34071217533949755594 match8 154.87002000000000000000
     dpglossintensitymod 3
     dpglossexponentmod 4
+
     q3map_bouncescale 1.25
     {
         map textures/phillipk2x/floor/pk02_floor06b
@@ -565,13 +650,40 @@ textures/phillipk2x/floor-pk02_floor06b
 textures/phillipk2x/floor-pk02_floor07
 {
     qer_editorimage textures/phillipk2x/floor/pk02_floor07
+
     dpoffsetmapping - .99514102977859022244 match8 36.22433900000000000000
     dpglossintensitymod 3
     dpglossexponentmod 4
+
+    q3map_bouncescale 1.25
+    {
+        map textures/phillipk2x/floor/pk02_floor07
+    }
+    {
+        map $lightmap
+        rgbgen identity
+        tcgen lightmap
+        blendfunc filter
+    }
+}
+
+textures/phillipk2x/floor-pk02_floor07-trans
+{
+    qer_editorimage textures/phillipk2x/floor/pk02_floor07
+
+    dpoffsetmapping - .99514102977859022244 match8 36.22433900000000000000
+    dpglossintensitymod 3
+    dpglossexponentmod 4
+
     q3map_bouncescale 1.25
+
     surfaceparm alphashadow
+    surfaceparm trans
+
+    cull none
     {
         map textures/phillipk2x/floor/pk02_floor07
+        alphaFunc GE128
     }
     {
         map $lightmap
@@ -584,9 +696,11 @@ textures/phillipk2x/floor-pk02_floor07
 textures/phillipk2x/floor-pk02_floor08a
 {
     qer_editorimage textures/phillipk2x/floor/pk02_floor08a
+
     dpoffsetmapping - 1.61170762745565895176 match8 137.41819300000000000000
     dpglossintensitymod 3
     dpglossexponentmod 4
+
     q3map_bouncescale 1.25
     {
         map textures/phillipk2x/floor/pk02_floor08a
@@ -602,9 +716,11 @@ textures/phillipk2x/floor-pk02_floor08a
 textures/phillipk2x/floor-pk02_floor08b
 {
     qer_editorimage textures/phillipk2x/floor/pk02_floor08b
+
     dpoffsetmapping - 1.31644171780416482041 match8 163.33152700000000000000
     dpglossintensitymod 3
     dpglossexponentmod 4
+
     q3map_bouncescale 1.25
     {
         map textures/phillipk2x/floor/pk02_floor08b
@@ -620,6 +736,7 @@ textures/phillipk2x/floor-pk02_floor08b
 textures/phillipk2x/floor-pk02_floor09a
 {
     qer_editorimage textures/phillipk2x/floor/pk02_floor09a
+
     dpoffsetmapping - .79500322426692573793 match8 105.44708600000000000000
     dpglossintensitymod 3
     dpglossexponentmod 4
@@ -637,6 +754,7 @@ textures/phillipk2x/floor-pk02_floor09a
 textures/phillipk2x/floor-pk02_floor09b
 {
     qer_editorimage textures/phillipk2x/floor/pk02_floor09b
+
     dpoffsetmapping - .79500322426692573793 match8 105.44708600000000000000
     dpglossintensitymod 3
     dpglossexponentmod 4
@@ -654,13 +772,40 @@ textures/phillipk2x/floor-pk02_floor09b
 textures/phillipk2x/floor-pk02_floor10
 {
     qer_editorimage textures/phillipk2x/floor/pk02_floor10
+
     dpoffsetmapping - .44457637879522200035 match8 119.10009400000000000000
     dpglossintensitymod 3
     dpglossexponentmod 4
+
     q3map_bouncescale 1.25
+    {
+        map textures/phillipk2x/floor/pk02_floor10
+    }
+    {
+        map $lightmap
+        rgbgen identity
+        tcgen lightmap
+        blendfunc filter
+    }
+}
+
+textures/phillipk2x/floor-pk02_floor10-trans
+{
+    qer_editorimage textures/phillipk2x/floor/pk02_floor10
+
+    dpoffsetmapping - .44457637879522200035 match8 119.10009400000000000000
+    dpglossintensitymod 3
+    dpglossexponentmod 4
+
+    q3map_bouncescale 1.25
+
     sufraceparm alphashadow
+    surfaceparm trans
+
+    cull none
     {
         map textures/phillipk2x/floor/pk02_floor10
+        alphaFunc GE128
     }
     {
         map $lightmap
@@ -673,9 +818,11 @@ textures/phillipk2x/floor-pk02_floor10
 textures/phillipk2x/floor-pk02_floor11
 {
     qer_editorimage textures/phillipk2x/floor/pk02_floor11
+
     dpoffsetmapping - .05513355111310939459 match8 148.97646300000000000000
     dpglossintensitymod 3
     dpglossexponentmod 4
+
     q3map_bouncescale 1.25
     {
         map textures/phillipk2x/floor/pk02_floor11
@@ -691,9 +838,11 @@ textures/phillipk2x/floor-pk02_floor11
 textures/phillipk2x/floor-pk02_floor12a
 {
     qer_editorimage textures/phillipk2x/floor/pk02_floor12a
+
     dpoffsetmapping - .15509745955749549773 match8 89.50909400000000000000
     dpglossintensitymod 3
     dpglossexponentmod 4
+
     q3map_bouncescale 1.25
     {
         map textures/phillipk2x/floor/pk02_floor12a
@@ -709,9 +858,11 @@ textures/phillipk2x/floor-pk02_floor12a
 textures/phillipk2x/floor-pk02_floor12b
 {
     qer_editorimage textures/phillipk2x/floor/pk02_floor12b
+
     dpoffsetmapping - .15509745955749549773 match8 89.50909400000000000000
     dpglossintensitymod 3
     dpglossexponentmod 4
+
     q3map_bouncescale 1.25
     {
         map textures/phillipk2x/floor/pk02_floor12b
@@ -727,13 +878,40 @@ textures/phillipk2x/floor-pk02_floor12b
 textures/phillipk2x/floor-pk02_floor13a
 {
     qer_editorimage textures/phillipk2x/floor/pk02_floor13a
+
     dpoffsetmapping - .40990944512922714868 match8 201.53338100000000000000
     dpglossintensitymod 3
     dpglossexponentmod 4
+
     q3map_bouncescale 1.25
+    {
+        map textures/phillipk2x/floor/pk02_floor13a
+    }
+    {
+        map $lightmap
+        rgbgen identity
+        tcgen lightmap
+        blendfunc filter
+    }
+}
+
+textures/phillipk2x/floor-pk02_floor13a-trans
+{
+    qer_editorimage textures/phillipk2x/floor/pk02_floor13a
+
+    dpoffsetmapping - .40990944512922714868 match8 201.53338100000000000000
+    dpglossintensitymod 3
+    dpglossexponentmod 4
+
+    q3map_bouncescale 1.25
+
     surfaceparm alphashadow
+    surfaceparm trans
+
+    cull none
     {
         map textures/phillipk2x/floor/pk02_floor13a
+        alphaFunc GE128
     }
     {
         map $lightmap
@@ -746,13 +924,40 @@ textures/phillipk2x/floor-pk02_floor13a
 textures/phillipk2x/floor-pk02_floor13b
 {
     qer_editorimage textures/phillipk2x/floor/pk02_floor13b
+
+    dpoffsetmapping - .40990944512922714868 match8 201.53338100000000000000
+    dpglossintensitymod 3
+    dpglossexponentmod 4
+
+    q3map_bouncescale 1.25
+    {
+        map textures/phillipk2x/floor/pk02_floor13b
+    }
+    {
+        map $lightmap
+        rgbgen identity
+        tcgen lightmap
+        blendfunc filter
+    }
+}
+
+textures/phillipk2x/floor-pk02_floor13b-trans
+{
+    qer_editorimage textures/phillipk2x/floor/pk02_floor13b
+
     dpoffsetmapping - .40990944512922714868 match8 201.53338100000000000000
     dpglossintensitymod 3
     dpglossexponentmod 4
+
     q3map_bouncescale 1.25
+
     surfaceparm alphashadow
+    surfaceparm trans
+
+    cull none
     {
         map textures/phillipk2x/floor/pk02_floor13b
+        alphaFunc GE128
     }
     {
         map $lightmap
@@ -765,9 +970,11 @@ textures/phillipk2x/floor-pk02_floor13b
 textures/phillipk2x/floor-pk02_floor_cyl01
 {
     qer_editorimage textures/phillipk2x/floor/pk02_floor_cyl01
+
     dpoffsetmapping - 1.61443858349723811826 match8 73.27379500000000000000
     dpglossintensitymod 3
     dpglossexponentmod 4
+
     q3map_bouncescale 1.25
     {
         map textures/phillipk2x/floor/pk02_floor_cyl01
@@ -783,9 +990,11 @@ textures/phillipk2x/floor-pk02_floor_cyl01
 textures/phillipk2x/floor-pk02_floor_cyl02
 {
     qer_editorimage textures/phillipk2x/floor/pk02_floor_cyl02
+
     dpoffsetmapping - 1.35992158089783171704 match8 223.84258200000000000000
     dpglossintensitymod 3
     dpglossexponentmod 4
+
     q3map_bouncescale 1.25
     {
         map textures/phillipk2x/floor/pk02_floor_cyl02
@@ -1057,10 +1266,15 @@ textures/phillipk2x/lights-pk02_light03-surfacelight
 textures/phillipk2x/natural-pk02_rock01
 {
     qer_editorimage textures/phillipk2x/natural/pk02_rock01
+
     dpoffsetmapping - 9.49394606329197426280 match8 168.79024100000000000000
     dpglossintensitymod 3
     dpglossexponentmod 4
+
     q3map_bouncescale 1.25
+    q3map_lightmapsampleoffset 8
+    q3map_nonplanar
+    q3map_shadeangle 90
     {
         map textures/phillipk2x/natural/pk02_rock01
     }
@@ -1075,10 +1289,15 @@ textures/phillipk2x/natural-pk02_rock01
 textures/phillipk2x/natural-pk02_sand01
 {
     qer_editorimage textures/phillipk2x/natural/pk02_sand01
+
     dpoffsetmapping - 5.65502095014472805438 match8 165.28059600000000000000
     dpglossintensitymod 3
     dpglossexponentmod 4
+
     q3map_bouncescale 1.25
+    q3map_lightmapsampleoffset 8
+    q3map_nonplanar
+    q3map_shadeangle 90
     {
         map textures/phillipk2x/natural/pk02_sand01
     }
@@ -1090,14 +1309,45 @@ textures/phillipk2x/natural-pk02_sand01
     }
 }
 
+textures/phillipk2x/natural-pk02_rock01-sand01-dotproduct
+{
+    qer_editorimage textures/phillipk2x/natural/pk02_rock01-sand01-dotproduct
+
+    dpoffsetmapping - 7 match8 167
+    dpglossintensitymod 3
+    dpglossexponentmod 4
+
+    q3map_bouncescale 1.25
+    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
+    }
+}
+
 // PANELS
 
 textures/phillipk2x/panels-pk02_door01
 {
     qer_editorimage textures/phillipk2x/panels/pk02_door01
+
     dpoffsetmapping - 2.64940293077865669735 match8 128.28460700000000000000
     dpglossintensitymod 3
     dpglossexponentmod 4
+
     q3map_bouncescale 1.25
     {
         map textures/phillipk2x/panels/pk02_door01
@@ -1113,9 +1363,11 @@ textures/phillipk2x/panels-pk02_door01
 textures/phillipk2x/panels-pk02_door02
 {
     qer_editorimage textures/phillipk2x/panels/pk02_door02
+
     dpoffsetmapping - 2.64694166250647366924 match8 197.90562600000000000000
     dpglossintensitymod 3
     dpglossexponentmod 4
+
     q3map_bouncescale 1.25
     {
         map textures/phillipk2x/panels/pk02_door02
@@ -1131,9 +1383,11 @@ textures/phillipk2x/panels-pk02_door02
 textures/phillipk2x/panels-pk02_door03
 {
     qer_editorimage textures/phillipk2x/panels/pk02_door03
+
     dpoffsetmapping - 2.57890169942121830331 match8 225.65004600000000000000
     dpglossintensitymod 3
     dpglossexponentmod 4
+
     q3map_bouncescale 1.25
     {
         map textures/phillipk2x/panels/pk02_door03
@@ -1149,9 +1403,11 @@ textures/phillipk2x/panels-pk02_door03
 textures/phillipk2x/panels-pk02_panels01a
 {
     qer_editorimage textures/phillipk2x/panels/pk02_panels01a
+
     dpoffsetmapping - 1.01492062877264589238 match8 217.50071000000000000000
     dpglossintensitymod 3
     dpglossexponentmod 4
+
     q3map_bouncescale 1.25
     {
         map textures/phillipk2x/panels/pk02_panels01a
@@ -1167,9 +1423,11 @@ textures/phillipk2x/panels-pk02_panels01a
 textures/phillipk2x/panels-pk02_panels01b
 {
     qer_editorimage textures/phillipk2x/panels/pk02_panels01b
+
     dpoffsetmapping - 1.01822981089064517345 match8 226.33825900000000000000
     dpglossintensitymod 3
     dpglossexponentmod 4
+
     q3map_bouncescale 1.25
     {
         map textures/phillipk2x/panels/pk02_panels01b
@@ -1185,9 +1443,11 @@ textures/phillipk2x/panels-pk02_panels01b
 textures/phillipk2x/panels-pk02_panels01c
 {
     qer_editorimage textures/phillipk2x/panels/pk02_panels01c
+
     dpoffsetmapping - 1.05568319734946414670 match8 215.00833500000000000000
     dpglossintensitymod 3
     dpglossexponentmod 4
+
     q3map_bouncescale 1.25
     {
         map textures/phillipk2x/panels/pk02_panels01c
@@ -1203,9 +1463,11 @@ textures/phillipk2x/panels-pk02_panels01c
 textures/phillipk2x/panels-pk02_plates01a
 {
     qer_editorimage textures/phillipk2x/panels/pk02_plates01a
+
     dpoffsetmapping - 1.01641710922520713367 match8 97.13315800000000000000
     dpglossintensitymod 3
     dpglossexponentmod 4
+
     q3map_bouncescale 1.25
     {
         map textures/phillipk2x/panels/pk02_plates01a
@@ -1221,9 +1483,11 @@ textures/phillipk2x/panels-pk02_plates01a
 textures/phillipk2x/panels-pk02_plates01b
 {
     qer_editorimage textures/phillipk2x/panels/pk02_plates01b
+
     dpoffsetmapping - 1.09645901598091540872 match8 88.23782400000000000000
     dpglossintensitymod 3
     dpglossexponentmod 4
+
     q3map_bouncescale 1.25
     {
         map textures/phillipk2x/panels/pk02_plates01b
@@ -1241,9 +1505,11 @@ textures/phillipk2x/panels-pk02_plates01b
 textures/phillipk2x/pipes-pk02_pipes01
 {
     qer_editorimage textures/phillipk2x/pipes/pk02_pipes01
+
     dpoffsetmapping - 3.72639008963637906190 match8 63.89128900000000000000
     dpglossintensitymod 3
     dpglossexponentmod 4
+
     q3map_bouncescale 1.25
     {
         map textures/phillipk2x/pipes/pk02_pipes01
@@ -1261,9 +1527,11 @@ textures/phillipk2x/pipes-pk02_pipes01
 textures/phillipk2x/trims-pk02_trim01
 {
     qer_editorimage textures/phillipk2x/trims/pk02_trim01
+
     dpoffsetmapping - 1.83391094650077048881 match8 143.62176200000000000000
     dpglossintensitymod 3
     dpglossexponentmod 4
+
     q3map_bouncescale 1.25
     {
         map textures/phillipk2x/trims/pk02_trim01
@@ -1279,9 +1547,11 @@ textures/phillipk2x/trims-pk02_trim01
 textures/phillipk2x/trims-pk02_trim02
 {
     qer_editorimage textures/phillipk2x/trims/pk02_trim02
+
     dpoffsetmapping - 1.03267874447355834165 match8 165.12502100000000000000
     dpglossintensitymod 3
     dpglossexponentmod 4
+
     q3map_bouncescale 1.25
     {
         map textures/phillipk2x/trims/pk02_trim02
@@ -1297,9 +1567,11 @@ textures/phillipk2x/trims-pk02_trim02
 textures/phillipk2x/trims-pk02_trim03
 {
     qer_editorimage textures/phillipk2x/trims/pk02_trim03
+
     dpoffsetmapping - 11.08418466697998195713 match8 145.50415600000000000000
     dpglossintensitymod 3
     dpglossexponentmod 4
+
     q3map_bouncescale 1.25
     {
         map textures/phillipk2x/trims/pk02_trim03
@@ -1315,9 +1587,11 @@ textures/phillipk2x/trims-pk02_trim03
 textures/phillipk2x/trims-pk02_trim04a
 {
     qer_editorimage textures/phillipk2x/trims/pk02_trim04a
+
     dpoffsetmapping - .60540793484494482225 match8 219.17139500000000000000
     dpglossintensitymod 3
     dpglossexponentmod 4
+
     q3map_bouncescale 1.25
     {
         map textures/phillipk2x/trims/pk02_trim04a
@@ -1333,9 +1607,11 @@ textures/phillipk2x/trims-pk02_trim04a
 textures/phillipk2x/trims-pk02_trim04b
 {
     qer_editorimage textures/phillipk2x/trims/pk02_trim04b
+
     dpoffsetmapping - .61504113321284279054 match8 216.86367800000000000000
     dpglossintensitymod 3
     dpglossexponentmod 4
+
     q3map_bouncescale 1.25
     {
         map textures/phillipk2x/trims/pk02_trim04b
@@ -1351,9 +1627,11 @@ textures/phillipk2x/trims-pk02_trim04b
 textures/phillipk2x/trims-pk02_trim_set01a
 {
     qer_editorimage textures/phillipk2x/trims/pk02_trim_set01a
+
     dpoffsetmapping - .62306208341793607402 match8 239.27232000000000000000
     dpglossintensitymod 3
     dpglossexponentmod 4
+
     q3map_bouncescale 1.25
     {
         map textures/phillipk2x/trims/pk02_trim_set01a
@@ -1369,9 +1647,11 @@ textures/phillipk2x/trims-pk02_trim_set01a
 textures/phillipk2x/trims-pk02_trim_set01b
 {
     qer_editorimage textures/phillipk2x/trims/pk02_trim_set01b
+
     dpoffsetmapping - .62306208341793607402 match8 239.27232000000000000000
     dpglossintensitymod 3
     dpglossexponentmod 4
+
     q3map_bouncescale 1.25
     {
         map textures/phillipk2x/trims/pk02_trim_set01b
@@ -1387,9 +1667,11 @@ textures/phillipk2x/trims-pk02_trim_set01b
 textures/phillipk2x/trims-pk02_trim_set02a
 {
     qer_editorimage textures/phillipk2x/trims/pk02_trim_set02a
+
     dpoffsetmapping - .40069274127619293491 match8 236.11586200000000000000
     dpglossintensitymod 3
     dpglossexponentmod 4
+
     q3map_bouncescale 1.25
     {
         map textures/phillipk2x/trims/pk02_trim_set02a
@@ -1405,9 +1687,11 @@ textures/phillipk2x/trims-pk02_trim_set02a
 textures/phillipk2x/trims-pk02_trim_set02b
 {
     qer_editorimage textures/phillipk2x/trims/pk02_trim_set02b
+
     dpoffsetmapping - .40069274127619293491 match8 236.11586200000000000000
     dpglossintensitymod 3
     dpglossexponentmod 4
+
     q3map_bouncescale 1.25
     {
         map textures/phillipk2x/trims/pk02_trim_set02b
@@ -1425,9 +1709,11 @@ textures/phillipk2x/trims-pk02_trim_set02b
 textures/phillipk2x/walls-pk02_wall01
 {
     qer_editorimage textures/phillipk2x/walls/pk02_wall01
+
     dpoffsetmapping - 2.70686211453129359163 match8 149.61362200000000000000
     dpglossintensitymod 3
     dpglossexponentmod 4
+
     q3map_bouncescale 1.25
     {
         map textures/phillipk2x/walls/pk02_wall01
@@ -1443,9 +1729,11 @@ textures/phillipk2x/walls-pk02_wall01
 textures/phillipk2x/walls-pk02_wall02a
 {
     qer_editorimage textures/phillipk2x/walls/pk02_wall02a
+
     dpoffsetmapping - 6.39846928473718786441 match8 135.33259900000000000000
     dpglossintensitymod 3
     dpglossexponentmod 4
+
     q3map_bouncescale 1.25
     {
         map textures/phillipk2x/walls/pk02_wall02a
@@ -1461,9 +1749,11 @@ textures/phillipk2x/walls-pk02_wall02a
 textures/phillipk2x/walls-pk02_wall02b
 {
     qer_editorimage textures/phillipk2x/walls/pk02_wall02b
+
     dpoffsetmapping - 6.16559628107200076309 match8 146.50529700000000000000
     dpglossintensitymod 3
     dpglossexponentmod 4
+
     q3map_bouncescale 1.25
     {
         map textures/phillipk2x/walls/pk02_wall02b
@@ -1479,9 +1769,11 @@ textures/phillipk2x/walls-pk02_wall02b
 textures/phillipk2x/walls-pk02_wall02c
 {
     qer_editorimage textures/phillipk2x/walls/pk02_wall02c
+
     dpoffsetmapping - 8.24941345465330317530 match8 158.39021100000000000000
     dpglossintensitymod 3
     dpglossexponentmod 4
+
     q3map_bouncescale 1.25
     {
         map textures/phillipk2x/walls/pk02_wall02c
@@ -1497,9 +1789,11 @@ textures/phillipk2x/walls-pk02_wall02c
 textures/phillipk2x/walls-pk02_wall03a
 {
     qer_editorimage textures/phillipk2x/walls/pk02_wall03a
+
     dpoffsetmapping - 3.52952618886137457316 match8 95.39440100000000000000
     dpglossintensitymod 3
     dpglossexponentmod 4
+
     q3map_bouncescale 1.25
     {
         map textures/phillipk2x/walls/pk02_wall03a
@@ -1515,9 +1809,11 @@ textures/phillipk2x/walls-pk02_wall03a
 textures/phillipk2x/walls-pk02_wall03b
 {
     qer_editorimage textures/phillipk2x/walls/pk02_wall03b
+
     dpoffsetmapping - 3.25981986953513655993 match8 206.31010500000000000000
     dpglossintensitymod 3
     dpglossexponentmod 4
+
     q3map_bouncescale 1.25
     {
         map textures/phillipk2x/walls/pk02_wall03b
@@ -1533,9 +1829,11 @@ textures/phillipk2x/walls-pk02_wall03b
 textures/phillipk2x/walls-pk02_wall04a
 {
     qer_editorimage textures/phillipk2x/walls/pk02_wall04a
+
     dpoffsetmapping - 1.47981752072007425926 match8 244.24614800000000000000
     dpglossintensitymod 3
     dpglossexponentmod 4
+
     q3map_bouncescale 1.25
     {
         map textures/phillipk2x/walls/pk02_wall04a
@@ -1551,9 +1849,11 @@ textures/phillipk2x/walls-pk02_wall04a
 textures/phillipk2x/walls-pk02_wall04b
 {
     qer_editorimage textures/phillipk2x/walls/pk02_wall04b
+
     dpoffsetmapping - 1.49016625580383380044 match8 239.20513700000000000000
     dpglossintensitymod 3
     dpglossexponentmod 4
+
     q3map_bouncescale 1.25
     {
         map textures/phillipk2x/walls/pk02_wall04b
@@ -1569,9 +1869,11 @@ textures/phillipk2x/walls-pk02_wall04b
 textures/phillipk2x/walls-pk02_wall05a
 {
     qer_editorimage textures/phillipk2x/walls/pk02_wall05a
+
     dpoffsetmapping - 3.53240168543765429590 match8 140.80490200000000000000
     dpglossintensitymod 3
     dpglossexponentmod 4
+
     q3map_bouncescale 1.25
     {
         map textures/phillipk2x/walls/pk02_wall05a
@@ -1587,9 +1889,11 @@ textures/phillipk2x/walls-pk02_wall05a
 textures/phillipk2x/walls-pk02_wall05b
 {
     qer_editorimage textures/phillipk2x/walls/pk02_wall05b
+
     dpoffsetmapping - 3.59065324467662857612 match8 151.30450000000000000000
     dpglossintensitymod 3
     dpglossexponentmod 4
+
     q3map_bouncescale 1.25
     {
         map textures/phillipk2x/walls/pk02_wall05b
@@ -1605,9 +1909,11 @@ textures/phillipk2x/walls-pk02_wall05b
 textures/phillipk2x/walls-pk02_wall05c
 {
     qer_editorimage textures/phillipk2x/walls/pk02_wall05c
+
     dpoffsetmapping - 3.64254597234311047862 match8 138.27518900000000000000
     dpglossintensitymod 3
     dpglossexponentmod 4
+
     q3map_bouncescale 1.25
     {
         map textures/phillipk2x/walls/pk02_wall05c
@@ -1623,9 +1929,11 @@ textures/phillipk2x/walls-pk02_wall05c
 textures/phillipk2x/walls-pk02_wall06a
 {
     qer_editorimage textures/phillipk2x/walls/pk02_wall06a
+
     dpoffsetmapping - 1.19564074952624367724 match8 240.68430600000000000000
     dpglossintensitymod 3
     dpglossexponentmod 4
+
     q3map_bouncescale 1.25
     {
         map textures/phillipk2x/walls/pk02_wall06a
@@ -1641,9 +1949,11 @@ textures/phillipk2x/walls-pk02_wall06a
 textures/phillipk2x/walls-pk02_wall06b
 {
     qer_editorimage textures/phillipk2x/walls/pk02_wall06b
+
     dpoffsetmapping - 1.66241520949560016747 match8 235.29112400000000000000
     dpglossintensitymod 3
     dpglossexponentmod 4
+
     q3map_bouncescale 1.25
     {
         map textures/phillipk2x/walls/pk02_wall06b
@@ -1659,9 +1969,11 @@ textures/phillipk2x/walls-pk02_wall06b
 textures/phillipk2x/walls-pk02_wall07a
 {
     qer_editorimage textures/phillipk2x/walls/pk02_wall07a
+
     dpoffsetmapping - 2.13606668913205024297 match8 166.43299400000000000000
     dpglossintensitymod 3
     dpglossexponentmod 4
+
     q3map_bouncescale 1.25
     {
         map textures/phillipk2x/walls/pk02_wall07a
@@ -1677,9 +1989,11 @@ textures/phillipk2x/walls-pk02_wall07a
 textures/phillipk2x/walls-pk02_wall07b
 {
     qer_editorimage textures/phillipk2x/walls/pk02_wall07b
+
     dpoffsetmapping - 2.12008183700027419633 match8 168.08208900000000000000
     dpglossintensitymod 3
     dpglossexponentmod 4
+
     q3map_bouncescale 1.25
     {
         map textures/phillipk2x/walls/pk02_wall07b
@@ -1695,9 +2009,11 @@ textures/phillipk2x/walls-pk02_wall07b
 textures/phillipk2x/walls-pk02_wall08a
 {
     qer_editorimage textures/phillipk2x/walls/pk02_wall08a
+
     dpoffsetmapping - 1.80749663690025672692 match8 197.32625200000000000000
     dpglossintensitymod 3
     dpglossexponentmod 4
+
     q3map_bouncescale 1.25
     {
         map textures/phillipk2x/walls/pk02_wall08a
@@ -1713,9 +2029,11 @@ textures/phillipk2x/walls-pk02_wall08a
 textures/phillipk2x/walls-pk02_wall08b
 {
     qer_editorimage textures/phillipk2x/walls/pk02_wall08b
+
     dpoffsetmapping - 1.80749663690025672692 match8 197.32625200000000000000
     dpglossintensitymod 3
     dpglossexponentmod 4
+
     q3map_bouncescale 1.25
     {
         map textures/phillipk2x/walls/pk02_wall08b
@@ -1731,9 +2049,11 @@ textures/phillipk2x/walls-pk02_wall08b
 textures/phillipk2x/walls-pk02_wall_big01a
 {
     qer_editorimage textures/phillipk2x/walls/pk02_wall_big01a
+
     dpoffsetmapping - 1.61897283619667893053 match8 193.21069000000000000000
     dpglossintensitymod 3
     dpglossexponentmod 4
+
     q3map_bouncescale 1.25
     {
         map textures/phillipk2x/walls/pk02_wall_big01a
@@ -1749,9 +2069,11 @@ textures/phillipk2x/walls-pk02_wall_big01a
 textures/phillipk2x/walls-pk02_wall_big01b
 {
     qer_editorimage textures/phillipk2x/walls/pk02_wall_big01b
+
     dpoffsetmapping - 2.49358817395381358866 match8 168.41267000000000000000
     dpglossintensitymod 3
     dpglossexponentmod 4
+
     q3map_bouncescale 1.25
     {
         map textures/phillipk2x/walls/pk02_wall_big01b
@@ -1767,9 +2089,11 @@ textures/phillipk2x/walls-pk02_wall_big01b
 textures/phillipk2x/walls-pk02_wall_big02a
 {
     qer_editorimage textures/phillipk2x/walls/pk02_wall_big02a
+
     dpoffsetmapping - 2.15524038517171925290 match8 205.44193300000000000000
     dpglossintensitymod 3
     dpglossexponentmod 4
+
     q3map_bouncescale 1.25
     {
         map textures/phillipk2x/walls/pk02_wall_big02a
@@ -1785,9 +2109,11 @@ textures/phillipk2x/walls-pk02_wall_big02a
 textures/phillipk2x/walls-pk02_wall_big02b
 {
     qer_editorimage textures/phillipk2x/walls/pk02_wall_big02b
+
     dpoffsetmapping - 2.21940243137157317891 match8 202.42936600000000000000
     dpglossintensitymod 3
     dpglossexponentmod 4
+
     q3map_bouncescale 1.25
     {
         map textures/phillipk2x/walls/pk02_wall_big02b