From: MirceaKitsune Date: Thu, 5 Apr 2012 12:33:13 +0000 (+0300) Subject: Attempt to implement dpshaderkillifcvar to turn off cubemaps. Currently this just... X-Git-Tag: xonotic-v0.8.0~5^2~18 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=898bd2814037d2681b168f872c58e94efbbb829a;p=xonotic%2Fxonotic-maps.pk3dir.git Attempt to implement dpshaderkillifcvar to turn off cubemaps. Currently this just causes all surfaces to disappear --- diff --git a/scripts/exx.shader b/scripts/exx.shader index 0d8c8018..f514d4ed 100644 --- a/scripts/exx.shader +++ b/scripts/exx.shader @@ -119,6 +119,8 @@ textures/exx/base-metal01 dpglossexponentmod 4 dpreflectcube env/exomorph/exomorph + dpshaderkillifcvar g_cubemap == 0 + { map textures/exx/base/base_metal01.tga @@ -142,6 +144,8 @@ textures/exx/base-metal02 dpglossexponentmod 4 dpreflectcube env/exomorph/exomorph + dpshaderkillifcvar g_cubemap == 0 + { map textures/exx/base/base_metal02.tga @@ -165,6 +169,8 @@ textures/exx/base-metal03 dpglossexponentmod 4 dpreflectcube env/exomorph/exomorph + dpshaderkillifcvar g_cubemap == 0 + { map textures/exx/base/base_metal03.tga @@ -188,6 +194,8 @@ textures/exx/base-metal04 dpglossexponentmod 4 dpreflectcube env/exomorph/exomorph + dpshaderkillifcvar g_cubemap == 0 + { map textures/exx/base/base_metal04.tga @@ -211,6 +219,8 @@ textures/exx/base-metal05rust dpglossexponentmod 4 dpreflectcube env/exomorph/exomorph + dpshaderkillifcvar g_cubemap == 0 + { map textures/exx/base/base_metal05rust.tga @@ -234,6 +244,8 @@ textures/exx/base-metal06rust dpglossexponentmod 4 dpreflectcube env/exomorph/exomorph + dpshaderkillifcvar g_cubemap == 0 + { map textures/exx/base/base_metal06rust.tga @@ -257,6 +269,8 @@ textures/exx/base-metal07rust dpglossexponentmod 4 dpreflectcube env/exomorph/exomorph + dpshaderkillifcvar g_cubemap == 0 + { map textures/exx/base/base_metal07rust.tga @@ -280,6 +294,8 @@ textures/exx/floor-clang01 surfaceparm metalsteps dpreflectcube env/exomorph/exomorph + dpshaderkillifcvar g_cubemap == 0 + { map textures/exx/floor/floor_clang01.tga @@ -303,6 +319,8 @@ textures/exx/floor-clang01b surfaceparm metalsteps dpreflectcube env/exomorph/exomorph + dpshaderkillifcvar g_cubemap == 0 + { map textures/exx/floor/floor_clang01b.tga @@ -417,6 +435,8 @@ textures/exx/floor-grate01 dpglossexponentmod 4 dpreflectcube env/exomorph/exomorph + dpshaderkillifcvar g_cubemap == 0 + { map textures/exx/floor/floor_grate01.tga alphaFunc GT0 @@ -441,6 +461,8 @@ textures/exx/floor-grate01-cull dpglossexponentmod 4 dpreflectcube env/exomorph/exomorph + dpshaderkillifcvar g_cubemap == 0 + { map textures/exx/floor/floor_grate01.tga alphaFunc GT0 @@ -466,6 +488,8 @@ textures/exx/floor-grate02 dpglossexponentmod 4 dpreflectcube env/exomorph/exomorph + dpshaderkillifcvar g_cubemap == 0 + { map textures/exx/floor/floor_grate02.tga alphaFunc GT0 @@ -490,6 +514,8 @@ textures/exx/floor-grate02-cull dpglossexponentmod 4 dpreflectcube env/exomorph/exomorph + dpshaderkillifcvar g_cubemap == 0 + { map textures/exx/floor/floor_grate02.tga alphaFunc GT0 @@ -515,6 +541,8 @@ textures/exx/floor-grate03 dpglossexponentmod 4 dpreflectcube env/exomorph/exomorph + dpshaderkillifcvar g_cubemap == 0 + { map textures/exx/floor/floor_grate03.tga alphaFunc GT0 @@ -539,6 +567,8 @@ textures/exx/floor-grate03-cull dpglossexponentmod 4 dpreflectcube env/exomorph/exomorph + dpshaderkillifcvar g_cubemap == 0 + { map textures/exx/floor/floor_grate03.tga alphaFunc GT0 @@ -564,6 +594,8 @@ textures/exx/floor-grate04 dpglossexponentmod 4 dpreflectcube env/exomorph/exomorph + dpshaderkillifcvar g_cubemap == 0 + { map textures/exx/floor/floor_grate04.tga alphaFunc GT0 @@ -589,6 +621,8 @@ textures/exx/floor-grate04-cull dpglossexponentmod 4 dpreflectcube env/exomorph/exomorph + dpshaderkillifcvar g_cubemap == 0 + { map textures/exx/floor/floor_grate04.tga alphaFunc GT0 @@ -613,6 +647,8 @@ textures/exx/floor-metal02 dpglossexponentmod 4 dpreflectcube env/exomorph/exomorph + dpshaderkillifcvar g_cubemap == 0 + { map textures/exx/floor/floor_metal02.tga @@ -635,6 +671,8 @@ textures/exx/floor-panel01 dpglossexponentmod 4 dpreflectcube env/exomorph/exomorph + dpshaderkillifcvar g_cubemap == 0 + { map textures/exx/floor/floor_panel01.tga @@ -658,6 +696,8 @@ textures/exx/floor-rnd01 dpglossexponentmod 4 dpreflectcube env/exomorph/exomorph + dpshaderkillifcvar g_cubemap == 0 + { map textures/exx/floor/floor_rnd01.tga @@ -681,6 +721,8 @@ textures/exx/floor-rnd02 dpglossexponentmod 4 dpreflectcube env/exomorph/exomorph + dpshaderkillifcvar g_cubemap == 0 + { map textures/exx/floor/floor_rnd02.tga @@ -704,6 +746,8 @@ textures/exx/floor-simple05 dpglossexponentmod 4 dpreflectcube env/exomorph/exomorph + dpshaderkillifcvar g_cubemap == 0 + { map textures/exx/floor/floor_simple05.tga @@ -726,6 +770,8 @@ textures/exx/floor-simplines dpglossexponentmod 4 dpreflectcube env/exomorph/exomorph + dpshaderkillifcvar g_cubemap == 0 + { map textures/exx/floor/floor_simplines.tga @@ -749,6 +795,8 @@ textures/exx/floor-tile03 dpglossexponentmod 4 dpreflectcube env/exomorph/exomorph + dpshaderkillifcvar g_cubemap == 0 + { map textures/exx/floor/floor_tile03.tga @@ -772,6 +820,8 @@ textures/exx/floor-tread01 dpglossexponentmod 4 dpreflectcube env/exomorph/exomorph + dpshaderkillifcvar g_cubemap == 0 + { map textures/exx/floor/floor_tread01.tga @@ -886,6 +936,8 @@ textures/exx/light-panel01 dpglossexponentmod 4 dpreflectcube env/exomorph/exomorph + dpshaderkillifcvar g_cubemap == 0 + { map textures/exx/light/light_panel01.tga @@ -912,6 +964,8 @@ textures/exx/light-panel01-surfacelight dpreflectcube env/exomorph/exomorph + dpshaderkillifcvar g_cubemap == 0 + { map textures/exx/light/light_panel01.tga @@ -935,6 +989,8 @@ textures/exx/light-u201 dpreflectcube env/exomorph/exomorph + dpshaderkillifcvar g_cubemap == 0 + { map textures/exx/light/light_u201.tga @@ -961,6 +1017,8 @@ textures/exx/light-u201-surfacelight dpreflectcube env/exomorph/exomorph + dpshaderkillifcvar g_cubemap == 0 + { map textures/exx/light/light_u201.tga @@ -993,6 +1051,8 @@ textures/exx/panel-grate01 dpreflectcube env/exomorph/exomorph + dpshaderkillifcvar g_cubemap == 0 + { map textures/exx/panel/panel_grate01.tga alphaFunc GT0 @@ -1024,6 +1084,8 @@ textures/exx/panel-grate01-cull dpreflectcube env/exomorph/exomorph + dpshaderkillifcvar g_cubemap == 0 + { map textures/exx/panel/panel_grate01.tga alphaFunc GT0 @@ -1047,6 +1109,8 @@ textures/exx/panel-metal01 dpglossexponentmod 4 dpreflectcube env/exomorph/exomorph + dpshaderkillifcvar g_cubemap == 0 + { map textures/exx/panel/panel_metal01.tga @@ -1070,6 +1134,8 @@ textures/exx/panel-metal01b dpglossexponentmod 4 dpreflectcube env/exomorph/exomorph + dpshaderkillifcvar g_cubemap == 0 + { map textures/exx/panel/panel_metal01b.tga @@ -1093,6 +1159,8 @@ textures/exx/panel-metal01c dpglossexponentmod 4 dpreflectcube env/exomorph/exomorph + dpshaderkillifcvar g_cubemap == 0 + { map textures/exx/panel/panel_metal01c.tga @@ -1116,6 +1184,8 @@ textures/exx/panel-metal02 dpglossexponentmod 4 dpreflectcube env/exomorph/exomorph + dpshaderkillifcvar g_cubemap == 0 + { map textures/exx/panel/panel_metal02.tga @@ -1139,6 +1209,8 @@ textures/exx/panel-metal03 dpglossexponentmod 4 dpreflectcube env/exomorph/exomorph + dpshaderkillifcvar g_cubemap == 0 + { map textures/exx/panel/panel_metal03.tga @@ -1162,6 +1234,8 @@ textures/exx/panel-metal04 dpglossexponentmod 4 dpreflectcube env/exomorph/exomorph + dpshaderkillifcvar g_cubemap == 0 + { map textures/exx/panel/panel_metal04.tga @@ -1185,6 +1259,8 @@ textures/exx/panel-metal05 dpglossexponentmod 4 dpreflectcube env/exomorph/exomorph + dpshaderkillifcvar g_cubemap == 0 + { map textures/exx/panel/panel_metal05.tga @@ -1208,6 +1284,8 @@ textures/exx/panel-metalbig04 dpglossexponentmod 4 dpreflectcube env/exomorph/exomorph + dpshaderkillifcvar g_cubemap == 0 + { map textures/exx/panel/panel_metalbig04.tga @@ -1231,6 +1309,8 @@ textures/exx/panel-metalbig04b dpglossexponentmod 4 dpreflectcube env/exomorph/exomorph + dpshaderkillifcvar g_cubemap == 0 + { map textures/exx/panel/panel_metalbig04b.tga @@ -1254,6 +1334,8 @@ textures/exx/panel-q201 dpglossexponentmod 4 dpreflectcube env/exomorph/exomorph + dpshaderkillifcvar g_cubemap == 0 + { map textures/exx/panel/panel_q201.tga @@ -1277,6 +1359,8 @@ textures/exx/panel-q201b dpglossexponentmod 4 dpreflectcube env/exomorph/exomorph + dpshaderkillifcvar g_cubemap == 0 + { map textures/exx/panel/panel_q201b.tga @@ -1300,6 +1384,8 @@ textures/exx/panel-q201c dpglossexponentmod 4 dpreflectcube env/exomorph/exomorph + dpshaderkillifcvar g_cubemap == 0 + { map textures/exx/panel/panel_q201c.tga @@ -1323,6 +1409,8 @@ textures/exx/panel-q201d dpglossexponentmod 4 dpreflectcube env/exomorph/exomorph + dpshaderkillifcvar g_cubemap == 0 + { map textures/exx/panel/panel_q201d.tga @@ -1346,6 +1434,8 @@ textures/exx/panel-q201e dpglossexponentmod 4 dpreflectcube env/exomorph/exomorph + dpshaderkillifcvar g_cubemap == 0 + { map textures/exx/panel/panel_q201e.tga @@ -1369,6 +1459,8 @@ textures/exx/panel-rs01 dpglossexponentmod 4 dpreflectcube env/exomorph/exomorph + dpshaderkillifcvar g_cubemap == 0 + { map textures/exx/panel/panel_rs01.tga @@ -1392,6 +1484,8 @@ textures/exx/trim-01 dpglossexponentmod 4 dpreflectcube env/exomorph/exomorph + dpshaderkillifcvar g_cubemap == 0 + { map textures/exx/trim/trim_01.tga @@ -1415,6 +1509,8 @@ textures/exx/trim-baseboard dpglossexponentmod 4 dpreflectcube env/exomorph/exomorph + dpshaderkillifcvar g_cubemap == 0 + { map textures/exx/trim/trim_baseboard.tga } @@ -1437,6 +1533,8 @@ textures/exx/trim-baseboard02 dpglossexponentmod 4 dpreflectcube env/exomorph/exomorph + dpshaderkillifcvar g_cubemap == 0 + { map textures/exx/trim/trim_baseboard02.tga @@ -1460,6 +1558,8 @@ textures/exx/trim-baseboard03 dpglossexponentmod 4 dpreflectcube env/exomorph/exomorph + dpshaderkillifcvar g_cubemap == 0 + { map textures/exx/trim/trim_baseboard03.tga @@ -1483,6 +1583,8 @@ textures/exx/trim-metalsupp01 dpglossexponentmod 4 dpreflectcube env/exomorph/exomorph + dpshaderkillifcvar g_cubemap == 0 + { map textures/exx/trim/trim_metalsupp01.tga @@ -1506,6 +1608,8 @@ textures/exx/trim-psimple04 dpglossexponentmod 4 dpreflectcube env/exomorph/exomorph + dpshaderkillifcvar g_cubemap == 0 + { map textures/exx/trim/trim_psimple04.tga @@ -1529,6 +1633,8 @@ textures/exx/trim-psimple05 dpglossexponentmod 4 dpreflectcube env/exomorph/exomorph + dpshaderkillifcvar g_cubemap == 0 + { map textures/exx/trim/trim_psimple05.tga @@ -1552,6 +1658,8 @@ textures/exx/trim-simple01 dpglossexponentmod 4 dpreflectcube env/exomorph/exomorph + dpshaderkillifcvar g_cubemap == 0 + { map textures/exx/trim/trim_simple01.tga @@ -1575,6 +1683,8 @@ textures/exx/trim-simple03 dpglossexponentmod 4 dpreflectcube env/exomorph/exomorph + dpshaderkillifcvar g_cubemap == 0 + { map textures/exx/trim/trim_simple03.tga @@ -1598,6 +1708,8 @@ textures/exx/trim-steptop01 dpglossexponentmod 4 dpreflectcube env/exomorph/exomorph + dpshaderkillifcvar g_cubemap == 0 + { map textures/exx/trim/trim_steptop01.tga @@ -1621,6 +1733,8 @@ textures/exx/trim-support03 dpglossexponentmod 4 dpreflectcube env/exomorph/exomorph + dpshaderkillifcvar g_cubemap == 0 + { map textures/exx/trim/trim_support03.tga @@ -1644,6 +1758,8 @@ textures/exx/trim-vert01 dpglossexponentmod 4 dpreflectcube env/exomorph/exomorph + dpshaderkillifcvar g_cubemap == 0 + { map textures/exx/trim/trim_vert01.tga @@ -1667,6 +1783,8 @@ textures/exx/trim-horz01 dpglossexponentmod 4 dpreflectcube env/exomorph/exomorph + dpshaderkillifcvar g_cubemap == 0 + { map textures/exx/trim/trim_horz01.tga @@ -1691,6 +1809,8 @@ textures/exx/wall-bigrib02 dpglossexponentmod 4 dpreflectcube env/exomorph/exomorph + dpshaderkillifcvar g_cubemap == 0 + { map textures/exx/wall/wall_bigrib02.tga @@ -1714,6 +1834,8 @@ textures/exx/wall-bplate06 dpglossexponentmod 4 dpreflectcube env/exomorph/exomorph + dpshaderkillifcvar g_cubemap == 0 + { map textures/exx/wall/wall_bplate06.tga @@ -1825,6 +1947,8 @@ textures/exx/wall-des01 dpglossexponentmod 4 dpreflectcube env/exomorph/exomorph + dpshaderkillifcvar g_cubemap == 0 + { map textures/exx/wall/wall_des01.tga @@ -1848,6 +1972,8 @@ textures/exx/wall-metal01 dpglossexponentmod 4 dpreflectcube env/exomorph/exomorph + dpshaderkillifcvar g_cubemap == 0 + { map textures/exx/wall/wall_metal01.tga @@ -1871,6 +1997,8 @@ textures/exx/wall-metal01b dpglossexponentmod 4 dpreflectcube env/exomorph/exomorph + dpshaderkillifcvar g_cubemap == 0 + { map textures/exx/wall/wall_metal01b.tga @@ -1917,6 +2045,8 @@ textures/exx/wall-metal02 dpglossexponentmod 4 dpreflectcube env/exomorph/exomorph + dpshaderkillifcvar g_cubemap == 0 + { map textures/exx/wall/wall_metal02.tga @@ -1940,6 +2070,8 @@ textures/exx/wall-metalb01 dpglossexponentmod 4 dpreflectcube env/exomorph/exomorph + dpshaderkillifcvar g_cubemap == 0 + { map textures/exx/wall/wall_metalb01.tga @@ -1963,6 +2095,8 @@ textures/exx/wall-metalrib01 dpglossexponentmod 4 dpreflectcube env/exomorph/exomorph + dpshaderkillifcvar g_cubemap == 0 + { map textures/exx/wall/wall_metalrib01.tga @@ -1986,6 +2120,8 @@ textures/exx/wall-panel05 dpglossexponentmod 4 dpreflectcube env/exomorph/exomorph + dpshaderkillifcvar g_cubemap == 0 + { map textures/exx/wall/wall_panel05.tga @@ -2009,6 +2145,8 @@ textures/exx/wall-panels08 dpglossexponentmod 4 dpreflectcube env/exomorph/exomorph + dpshaderkillifcvar g_cubemap == 0 + { map textures/exx/wall/wall_panels08.tga @@ -2032,6 +2170,8 @@ textures/exx/wall-panels08b dpglossexponentmod 4 dpreflectcube env/exomorph/exomorph + dpshaderkillifcvar g_cubemap == 0 + { map textures/exx/wall/wall_panels08b.tga @@ -2055,6 +2195,8 @@ textures/exx/wall-pipe dpglossexponentmod 4 dpreflectcube env/exomorph/exomorph + dpshaderkillifcvar g_cubemap == 0 + { map textures/exx/wall/wall_pipe.tga @@ -2078,6 +2220,8 @@ textures/exx/wall-u207 dpglossexponentmod 4 dpreflectcube env/exomorph/exomorph + dpshaderkillifcvar g_cubemap == 0 + { map textures/exx/wall/wall_u207.tga