From fa63028e3396da8674a6f9ea35e7cba539c08cbb Mon Sep 17 00:00:00 2001 From: MirceaKitsune Date: Sat, 28 Jan 2012 13:52:57 +0200 Subject: [PATCH] evil4 shaders (hopefully I didn't break any) --- data/scripts/evil4_d_techwalls.shader | 572 ++++++++++++++++++++++ data/scripts/evil4_fx.shader | 73 +++ data/scripts/evil4_lights.shader | 231 +++++++++ data/scripts/evil4_metals.shader | 641 +++++++++++++++++++++++++ data/scripts/evil4_techfloors.shader | 166 +++++++ data/scripts/evil4_techtrims.shader | 659 ++++---------------------- data/scripts/evil4_techwalls.shader | 89 ++++ data/scripts/shaderlist.txt | 6 + 8 files changed, 1862 insertions(+), 575 deletions(-) create mode 100644 data/scripts/evil4_d_techwalls.shader create mode 100644 data/scripts/evil4_fx.shader create mode 100644 data/scripts/evil4_lights.shader create mode 100644 data/scripts/evil4_metals.shader create mode 100644 data/scripts/evil4_techfloors.shader create mode 100644 data/scripts/evil4_techwalls.shader diff --git a/data/scripts/evil4_d_techwalls.shader b/data/scripts/evil4_d_techwalls.shader new file mode 100644 index 00000000..bbbf2eb2 --- /dev/null +++ b/data/scripts/evil4_d_techwalls.shader @@ -0,0 +1,572 @@ +textures/evil4_d_techwalls/d_drkmtl_dpanel +{ + dpreflectcube cubemaps/exomorph/exomorph + { + map textures/evil4_d_techwalls/d_drkmtl_dpanel + } + { + map $lightmap + blendfunc GL_DST_COLOR GL_ZERO + rgbGen identity + } +} + +textures/evil4_d_techwalls/d_drkmtl_dpanelb +{ + dpreflectcube cubemaps/exomorph/exomorph + { + map textures/evil4_d_techwalls/d_drkmtl_dpanelb + } + { + map $lightmap + blendfunc GL_DST_COLOR GL_ZERO + rgbGen identity + } +} + +textures/evil4_d_techwalls/d_drkmtl_dpanelc +{ + dpreflectcube cubemaps/exomorph/exomorph + { + map textures/evil4_d_techwalls/d_drkmtl_dpanelc + } + { + map $lightmap + blendfunc GL_DST_COLOR GL_ZERO + rgbGen identity + } +} + +textures/evil4_d_techwalls/d_drkmtl_dpanelwrn +{ + dpreflectcube cubemaps/exomorph/exomorph + { + map textures/evil4_d_techwalls/d_drkmtl_dpanelwrn + } + { + map $lightmap + blendfunc GL_DST_COLOR GL_ZERO + rgbGen identity + } +} + +textures/evil4_d_techwalls/d_drkmtl_dpanelwrnb +{ + dpreflectcube cubemaps/exomorph/exomorph + { + map textures/evil4_d_techwalls/d_drkmtl_dpanelwrnb + } + { + map $lightmap + blendfunc GL_DST_COLOR GL_ZERO + rgbGen identity + } +} + +textures/evil4_d_techwalls/d_drkmtl_dpanelwrnb2 +{ + dpreflectcube cubemaps/exomorph/exomorph + { + map textures/evil4_d_techwalls/d_drkmtl_dpanelwrnb2.tga + blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA + rgbGen identity + } + { + map $lightmap + blendFunc GL_DST_COLOR GL_ONE_MINUS_DST_ALPHA + rgbGen identity + } +} + +textures/evil4_d_techwalls/d_drkmtl_dpanelwrnbgrt +{ + dpreflectcube cubemaps/exomorph/exomorph + { + map textures/evil4_d_techwalls/d_drkmtl_dpanelwrnbgrt + } + { + map $lightmap + blendfunc GL_DST_COLOR GL_ZERO + rgbGen identity + } +} + +textures/evil4_d_techwalls/d_drkmtl_lightboard +{ + dpreflectcube cubemaps/exomorph/exomorph + { + map textures/evil4_d_techwalls/d_drkmtl_lightboard + } + { + map $lightmap + blendfunc GL_DST_COLOR GL_ZERO + rgbGen identity + } +} + +textures/evil4_d_techwalls/d_drkmtl_mpanel +{ + dpreflectcube cubemaps/exomorph/exomorph + { + map textures/evil4_d_techwalls/d_drkmtl_mpanel + } + { + map $lightmap + blendfunc GL_DST_COLOR GL_ZERO + rgbGen identity + } +} + +textures/evil4_d_techwalls/d_drkmtl_mpanelgrt +{ + dpreflectcube cubemaps/exomorph/exomorph + { + map textures/evil4_d_techwalls/d_drkmtl_mpanelgrt + } + { + map $lightmap + blendfunc GL_DST_COLOR GL_ZERO + rgbGen identity + } +} + +textures/evil4_d_techwalls/d_drkmtlsupport_alpha +{ + dpreflectcube cubemaps/exomorph/exomorph + { + map textures/evil4_d_techwalls/d_drkmtlsupport_alpha + } + { + map $lightmap + blendfunc GL_DST_COLOR GL_ZERO + rgbGen identity + } +} + +textures/evil4_d_techwalls/d_drkmtlsupport +{ + dpreflectcube cubemaps/exomorph/exomorph + { + map textures/evil4_d_techwalls/d_drkmtlsupport + } + { + map $lightmap + blendfunc GL_DST_COLOR GL_ZERO + rgbGen identity + } +} + +textures/evil4_d_techwalls/d_lighttechdoor +{ + dpreflectcube cubemaps/exomorph/exomorph + { + map textures/evil4_d_techwalls/d_lighttechdoor + } + { + map $lightmap + blendfunc GL_DST_COLOR GL_ZERO + rgbGen identity + } +} + +textures/evil4_d_techwalls/d_shinymtlsupport +{ + dpreflectcube cubemaps/exomorph/exomorph + { + map textures/evil4_d_techwalls/d_shinymtlsupport + } + { + map $lightmap + blendfunc GL_DST_COLOR GL_ZERO + rgbGen identity + } +} + +textures/evil4_d_techwalls/d_tech_drkwall_b +{ + dpreflectcube cubemaps/exomorph/exomorph + { + map textures/evil4_d_techwalls/d_tech_drkwall_b + } + { + map $lightmap + blendfunc GL_DST_COLOR GL_ZERO + rgbGen identity + } +} + +textures/evil4_d_techwalls/d_tech_drkwall_cutl +{ + dpreflectcube cubemaps/exomorph/exomorph + { + map textures/evil4_d_techwalls/d_tech_drkwall_cutl + } + { + map $lightmap + blendfunc GL_DST_COLOR GL_ZERO + rgbGen identity + } +} + +textures/evil4_d_techwalls/d_tech_drkwall_cutr +{ + dpreflectcube cubemaps/exomorph/exomorph + { + map textures/evil4_d_techwalls/d_tech_drkwall_cutr + } + { + map $lightmap + blendfunc GL_DST_COLOR GL_ZERO + rgbGen identity + } +} + +textures/evil4_d_techwalls/d_tech_drkwall +{ + dpreflectcube cubemaps/exomorph/exomorph + { + map textures/evil4_d_techwalls/d_tech_drkwall + } + { + map $lightmap + blendfunc GL_DST_COLOR GL_ZERO + rgbGen identity + } +} + +textures/evil4_d_techwalls/d_tech_drkwall_seam +{ + dpreflectcube cubemaps/exomorph/exomorph + { + map textures/evil4_d_techwalls/d_tech_drkwall_seam + } + { + map $lightmap + blendfunc GL_DST_COLOR GL_ZERO + rgbGen identity + } +} + +textures/evil4_d_techwalls/d_tech_drkwall_seam2 +{ + dpreflectcube cubemaps/exomorph/exomorph + { + map textures/evil4_d_techwalls/d_tech_drkwall_seam2 + } + { + map $lightmap + blendfunc GL_DST_COLOR GL_ZERO + rgbGen identity + } +} + +textures/evil4_d_techwalls/d_tech_drkwall2 +{ + dpreflectcube cubemaps/exomorph/exomorph + { + map textures/evil4_d_techwalls/d_tech_drkwall2 + } + { + map $lightmap + blendfunc GL_DST_COLOR GL_ZERO + rgbGen identity + } +} + +textures/evil4_d_techwalls/d_tech_drkwll_pnltek +{ + dpreflectcube cubemaps/exomorph/exomorph + { + map textures/evil4_d_techwalls/d_tech_drkwll_pnltek + } + { + map $lightmap + blendfunc GL_DST_COLOR GL_ZERO + rgbGen identity + } +} + +textures/evil4_d_techwalls/d_tech_dw_grate +{ + dpreflectcube cubemaps/exomorph/exomorph + { + map textures/evil4_d_techwalls/d_tech_dw_grate + } + { + map $lightmap + blendfunc GL_DST_COLOR GL_ZERO + rgbGen identity + } +} + +textures/evil4_d_techwalls/d_tech_dw2 +{ + dpreflectcube cubemaps/exomorph/exomorph + { + map textures/evil4_d_techwalls/d_tech_dw2 + rgbGen identity + } + { + map $lightmap + blendfunc filter + rgbGen identity + } + { + map textures/evil4_d_techwalls/d_tech_dw2_fx + blendFunc add + rgbGen wave sin .5 .5 0 3 + } +} + +textures/evil4_d_techwalls/d_tech_dw2g +{ + dpreflectcube cubemaps/exomorph/exomorph + { + map textures/evil4_d_techwalls/d_tech_dw2g + rgbGen identity + } + { + map $lightmap + blendfunc filter + rgbGen identity + } + { + map textures/evil4_d_techwalls/d_tech_dw2_fx + blendFunc add + rgbGen wave sin .5 .5 0 3 + } +} + +textures/evil4_d_techwalls/d_tech_dw2gb +{ + dpreflectcube cubemaps/exomorph/exomorph + { + map textures/evil4_d_techwalls/d_tech_dw2gb + rgbGen identity + } + { + map $lightmap + blendfunc filter + rgbGen identity + } + { + map textures/evil4_d_techwalls/d_tech_dw2_fx + blendFunc add + rgbGen wave sin .5 .5 0 3 + } +} + +textures/evil4_d_techwalls/d_tech_dwb_2g +{ + dpreflectcube cubemaps/exomorph/exomorph + { + map textures/evil4_d_techwalls/d_tech_dwb_2g + } + { + map $lightmap + blendfunc GL_DST_COLOR GL_ZERO + rgbGen identity + } +} + +textures/evil4_d_techwalls/d_tech_dwb_2gsign +{ + dpreflectcube cubemaps/exomorph/exomorph + { + map textures/evil4_d_techwalls/d_tech_dwb_2gsign + } + { + map $lightmap + blendfunc GL_DST_COLOR GL_ZERO + rgbGen identity + } +} + +textures/evil4_d_techwalls/d_tech_dwb_light +{ + dpreflectcube cubemaps/exomorph/exomorph + { + map textures/evil4_d_techwalls/d_tech_dwb_light + } + { + map $lightmap + blendfunc GL_DST_COLOR GL_ZERO + rgbGen identity + } +} + +textures/evil4_d_techwalls/d_tech_dwb +{ + dpreflectcube cubemaps/exomorph/exomorph + { + map textures/evil4_d_techwalls/d_tech_dwb + } + { + map $lightmap + blendfunc GL_DST_COLOR GL_ZERO + rgbGen identity + } +} + +textures/evil4_d_techwalls/d_tech_dwb_sign +{ + dpreflectcube cubemaps/exomorph/exomorph + { + map textures/evil4_d_techwalls/d_tech_dwb_sign + } + { + map $lightmap + blendfunc GL_DST_COLOR GL_ZERO + rgbGen identity + } +} + +textures/evil4_d_techwalls/d_tech_dws_grate +{ + dpreflectcube cubemaps/exomorph/exomorph + { + map textures/evil4_d_techwalls/d_tech_dws_grate + } + { + map $lightmap + blendfunc GL_DST_COLOR GL_ZERO + rgbGen identity + } +} + +textures/evil4_d_techwalls/d_tech_dwteky +{ + dpreflectcube cubemaps/exomorph/exomorph + { + map textures/evil4_d_techwalls/d_tech_dwteky + } + { + map $lightmap + blendfunc GL_DST_COLOR GL_ZERO + rgbGen identity + } +} + +textures/evil4_d_techwalls/d_tech_wall_dlight +{ + dpreflectcube cubemaps/exomorph/exomorph + surfaceparm nomarks + q3map_surfacelight 5000 + { + map textures/evil4_d_techwalls/d_tech_wall_dlight.tga + rgbGen identity + } + { + map $lightmap + blendfunc filter + rgbGen identity + } +} + +textures/evil4_d_techwalls/d_tech_wall_drkm +{ + dpreflectcube cubemaps/exomorph/exomorph + { + map textures/evil4_d_techwalls/d_tech_wall_drkm + } + { + map $lightmap + blendfunc GL_DST_COLOR GL_ZERO + rgbGen identity + } +} + +textures/evil4_d_techwalls/d_tech_wall_drkm2 +{ + dpreflectcube cubemaps/exomorph/exomorph + { + map textures/evil4_d_techwalls/d_tech_wall_drkm2 + } + { + map $lightmap + blendfunc GL_DST_COLOR GL_ZERO + rgbGen identity + } +} + +textures/evil4_d_techwalls/d_tech_wall_drkmpanel +{ + dpreflectcube cubemaps/exomorph/exomorph + { + map textures/evil4_d_techwalls/d_tech_wall_drkmpanel + } + { + map $lightmap + blendfunc GL_DST_COLOR GL_ZERO + rgbGen identity + } +} + +textures/evil4_d_techwalls/d_tech_wall_grll +{ + dpreflectcube cubemaps/exomorph/exomorph + { + map textures/evil4_d_techwalls/d_tech_wall_grll + } + { + map $lightmap + blendfunc GL_DST_COLOR GL_ZERO + rgbGen identity + } +} + +textures/evil4_d_techwalls/d_tech_wall2_huge +{ + dpreflectcube cubemaps/exomorph/exomorph + { + map textures/evil4_d_techwalls/d_tech_wall2_huge + } + { + map $lightmap + blendfunc GL_DST_COLOR GL_ZERO + rgbGen identity + } +} + +textures/evil4_d_techwalls/d_tech_window +{ + dpreflectcube cubemaps/exomorph/exomorph + cull twosided + { + map textures/evil4_d_techwalls/d_tech_window + blendFunc blend + rgbGen identity + } + + { + map $lightmap + blendFunc GL_DST_COLOR GL_ONE_MINUS_DST_ALPHA + rgbGen identity + } +} + +textures/evil4_d_techwalls/d_tech_window +{ + dpreflectcube cubemaps/exomorph/exomorph + { + map textures/evil4_d_techwalls/d_tech_window + } + { + map $lightmap + blendfunc GL_DST_COLOR GL_ZERO + rgbGen identity + } +} + +textures/evil4_d_techwalls/d_tech_windowmask +{ + dpreflectcube cubemaps/exomorph/exomorph + { + map textures/evil4_d_techwalls/d_tech_windowmask + } + { + map $lightmap + blendfunc GL_DST_COLOR GL_ZERO + rgbGen identity + } +} \ No newline at end of file diff --git a/data/scripts/evil4_fx.shader b/data/scripts/evil4_fx.shader new file mode 100644 index 00000000..6937a8e7 --- /dev/null +++ b/data/scripts/evil4_fx.shader @@ -0,0 +1,73 @@ +// portal + +textures/evil4_fx/mtlportal_fx +{ + qer_editorimage textures/evil4_fx/mtlportal.tga + cull disable + surfaceparm nomarks + surfaceparm trans + sort additive + { + clampmap textures/evil4_fx/mtlportal_fx1.tga + blendFunc add + tcmod rotate -100 + rgbGen identity + } + { + clampmap textures/evil4_fx/mtlportal_fx2.tga + blendFunc add + tcmod rotate 100 + rgbGen identity + } + { + clampmap textures/evil4_fx/mtlportal.tga + alphaFunc GE128 + depthWrite + rgbGen identity + } + { + map $lightmap + rgbGen identity + blendFunc GL_DST_COLOR GL_ZERO + depthFunc equal + } +} + +//snow +textures/evil4_fx/teleprtr +{ + cull disable + surfaceparm nomarks + surfaceparm trans + sort additive + { + clampmap textures/evil4_fx/teleprtr_fx3.tga + blendFunc add + tcmod rotate -267 + rgbGen identity + } + { + clampmap textures/evil4_fx/teleprtr_fx1.tga + blendFunc add + tcmod rotate 155 + rgbGen identity + } + { + clampmap textures/evil4_fx/teleprtr_fx2.tga + blendFunc add + tcmod rotate -100 + rgbGen identity + } + { + clampmap textures/evil4_fx/teleprtr.tga + alphaFunc GE128 + depthWrite + rgbGen identity + } + { + map $lightmap + rgbGen identity + blendFunc GL_DST_COLOR GL_ZERO + depthFunc equal + } +} \ No newline at end of file diff --git a/data/scripts/evil4_lights.shader b/data/scripts/evil4_lights.shader new file mode 100644 index 00000000..ba9629ff --- /dev/null +++ b/data/scripts/evil4_lights.shader @@ -0,0 +1,231 @@ +textures/evil4_lights/steplight +{ + surfaceparm nomarks + q3map_surfacelight 1000 + //light1 + { + map $lightmap + rgbGen identity + } + { + map textures/evil4_lights/steplight.tga + blendFunc GL_DST_COLOR GL_ZERO + rgbGen identity + } + { + map textures/evil4_lights/steplight_glow.tga + blendfunc GL_ONE GL_ONE + } +} + +textures/evil4_lights/drkmtlsupport_light +{ + surfaceparm nomarks + q3map_surfacelight 1000 + { + map $lightmap + rgbGen identity + } + { + map textures/evil4_lights/drkmtlsupport_light.tga + blendFunc GL_DST_COLOR GL_ZERO + rgbGen identity + } + { + map textures/evil4_lights/drkmtlsupport_light_glow.tga + rgbGen wave sin 0.5 0.5 1 .5 + blendfunc GL_ONE GL_ONE + } +} + +textures/evil4_lights/s_light +{ + qer_editorimage textures/evil4_lights/s_light.jpg + surfaceparm nomarks + q3map_surfacelight 2500 + { + map textures/evil4_lights/s_light.jpg + //blendFunc GL_DST_COLOR GL_ZERO + rgbGen identity + } + { + map $lightmap + rgbGen identity + blendFunc Filter + } +} + +textures/evil4_lights/t_mtllight +{ + surfaceparm nomarks + q3map_surfacelight 1000 + //light1 + { + map $lightmap + rgbGen identity + } + { + map textures/evil4_lights/t_mtllight.jpg + blendFunc GL_DST_COLOR GL_ZERO + rgbGen identity + } +} + +textures/evil4_lights/mtl_lightsmll +{ + surfaceparm nomarks + q3map_surfacelight 1000 + //light1 + { + map $lightmap + rgbGen identity + } + { + map textures/evil4_lights/mtl_lightsmll.jpg + blendFunc GL_DST_COLOR GL_ZERO + rgbGen identity + } +} + +//double glowing effect light strips + +textures/evil4_lights/l_light_b +{ + q3map_surfacelight 5000 + q3map_lightimage textures/evil4_lights/l_light_b.jpg + { + map $lightmap + rgbGen identity + } + { + map textures/evil4_lights/l_light_b.jpg + blendFunc GL_DST_COLOR GL_ZERO + rgbGen identity + } +} + +textures/evil4_lights/l_light_g +{ + q3map_surfacelight 5000 + q3map_lightimage textures/evil4_lights/l_light_g.jpg + { + map $lightmap + rgbGen identity + } + { + map textures/evil4_lights/l_light_g.jpg + blendFunc GL_DST_COLOR GL_ZERO + rgbGen identity + } +} + +textures/evil4_lights/l_light_r +{ + q3map_surfacelight 5000 + q3map_lightimage textures/evil4_lights/l_light_r.jpg + { + map $lightmap + rgbGen identity + } + { + map textures/evil4_lights/l_light_r.jpg + blendFunc GL_DST_COLOR GL_ZERO + rgbGen identity + } +} + +textures/evil4_lights/l_light_w +{ + q3map_surfacelight 5000 + q3map_lightimage textures/evil4_lights/l_light_w.jpg + { + map $lightmap + rgbGen identity + } + { + map textures/evil4_lights/l_light_w.jpg + blendFunc GL_DST_COLOR GL_ZERO + rgbGen identity + } +} + +textures/evil4_lights/mtl_l1 +{ + q3map_surfacelight 1000 + q3map_lightimage textures/evil4_lights/mtl_l1.tga + // LordHavoc: replaced most of this shader + { + map textures/evil4_lights/mtl_l1.tga + } + { + map $lightmap + rgbGen identity + blendfunc filter + } + { + map textures/evil4_lights/mtl_l1_glow.tga + blendfunc add + } + // LordHavoc: original shader + //{ + // map textures/evil4_lights/mtl_l1_fx.tga + // //blendfunc add + // tcmod scale 12 1 + // rgbGen identity + // tcMod scroll 0 1 + //} + //{ + // map textures/evil4_lights/mtl_l1_fx.tga + // blendfunc add + // //tcmod scale 25 1 + // rgbGen identity + // tcMod scroll 1 0 + //} + //{ + // map textures/evil4_lights/mtl_l1.tga + // blendfunc blend + // rgbGen identity + //} + //{ + // map textures/evil4_lights/mtl_l1_glow.tga + // blendfunc add + // tcmod scale 1 1 + //} + //{ + // map $lightmap + // rgbGen identity + // blendfunc filter + //} +} + +//border light + +textures/evil4_lights/trimtl_grlbtm_light +{ + q3map_surfacelight 5000 + qer_editorimage textures/evil4_lights/trimtl_grlbtm_light.tga + { + map textures/evil4_lights/trimtl_grlbtm_light.tga + rgbGen identity + } + { + map $lightmap + rgbGen identity + blendfunc gl_dst_color gl_zero + } +} + +textures/evil4_lights/s_bluelight +{ + q3map_surfacelight 1000 + q3map_lightimage textures/evil4_lights/s_bluelight.tga + { + map textures/evil4_lights/s_bluelight.tga + rgbGen identity + } + { + map $lightmap + rgbGen identity + blendfuns filter + } +} \ No newline at end of file diff --git a/data/scripts/evil4_metals.shader b/data/scripts/evil4_metals.shader new file mode 100644 index 00000000..369a043a --- /dev/null +++ b/data/scripts/evil4_metals.shader @@ -0,0 +1,641 @@ +textures/evil4_metals/defaultmetal +{ + dpreflectcube cubemaps/exomorph/exomorph + { + map textures/evil4_metals/defaultmetal + } + { + map $lightmap + blendfunc GL_DST_COLOR GL_ZERO + rgbGen identity + } +} + +textures/evil4_metals/drkmtl_default +{ + dpreflectcube cubemaps/exomorph/exomorph + { + map textures/evil4_metals/drkmtl_default + } + { + map $lightmap + blendfunc GL_DST_COLOR GL_ZERO + rgbGen identity + } +} + +textures/evil4_metals/drkmtl_grlpltmech +{ + dpreflectcube cubemaps/exomorph/exomorph + { + map textures/evil4_metals/drkmtl_grlpltmech + } + { + map $lightmap + blendfunc GL_DST_COLOR GL_ZERO + rgbGen identity + } +} + +textures/evil4_metals/eshinytin +{ + dpreflectcube cubemaps/exomorph/exomorph + { + map textures/evil4_metals/eshinytin + } + { + map $lightmap + blendfunc GL_DST_COLOR GL_ZERO + rgbGen identity + } +} + +textures/evil4_metals/flrgrate +{ + dpreflectcube cubemaps/exomorph/exomorph + { + map textures/evil4_metals/flrgrate + blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA + rgbGen identity + } + { + map $lightmap + blendFunc GL_DST_COLOR GL_ONE_MINUS_DST_ALPHA + rgbGen identity + } +} + +textures/evil4_metals/hexametal_drk +{ + dpreflectcube cubemaps/exomorph/exomorph + { + map textures/evil4_metals/hexametal_drk + } + { + map $lightmap + blendfunc GL_DST_COLOR GL_ZERO + rgbGen identity + } +} + +textures/evil4_metals/hexametal +{ + dpreflectcube cubemaps/exomorph/exomorph + { + map textures/evil4_metals/hexametal + } + { + map $lightmap + blendfunc GL_DST_COLOR GL_ZERO + rgbGen identity + } +} + +textures/evil4_metals/mediummtl_default +{ + dpreflectcube cubemaps/exomorph/exomorph + { + map textures/evil4_metals/mediummtl_default + } + { + map $lightmap + blendfunc GL_DST_COLOR GL_ZERO + rgbGen identity + } +} + +textures/evil4_metals/mtl2grt +{ + dpreflectcube cubemaps/exomorph/exomorph + { + map textures/evil4_metals/mtl2grt + } + { + map $lightmap + blendfunc GL_DST_COLOR GL_ZERO + rgbGen identity + } +} + +textures/evil4_metals/mtlb +{ + dpreflectcube cubemaps/exomorph/exomorph + { + map textures/evil4_metals/mtlb + } + { + map $lightmap + blendfunc GL_DST_COLOR GL_ZERO + rgbGen identity + } +} + +textures/evil4_metals/mtldoor +{ + dpreflectcube cubemaps/exomorph/exomorph + { + map textures/evil4_metals/mtldoor + } + { + map $lightmap + blendfunc GL_DST_COLOR GL_ZERO + rgbGen identity + } +} + +textures/evil4_metals/mtlflrslots +{ + dpreflectcube cubemaps/exomorph/exomorph + { + map textures/evil4_metals/mtlflrslots + blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA + rgbGen identity + } + { + map $lightmap + blendFunc GL_DST_COLOR GL_ONE_MINUS_DST_ALPHA + rgbGen identity + } +} + +textures/evil4_metals/mtloverlaprwll +{ + dpreflectcube cubemaps/exomorph/exomorph + { + map textures/evil4_metals/mtloverlaprwll + } + { + map $lightmap + blendfunc GL_DST_COLOR GL_ZERO + rgbGen identity + } +} + +textures/evil4_metals/mtlpanel_d +{ + dpreflectcube cubemaps/exomorph/exomorph + { + map textures/evil4_metals/mtlpanel_d + } + { + map $lightmap + blendfunc GL_DST_COLOR GL_ZERO + rgbGen identity + } +} + +textures/evil4_metals/mtlpanel_ow +{ + dpreflectcube cubemaps/exomorph/exomorph + { + map textures/evil4_metals/mtlpanel_ow + } + { + map $lightmap + blendfunc GL_DST_COLOR GL_ZERO + rgbGen identity + } +} + +textures/evil4_metals/mtlpanel +{ + dpreflectcube cubemaps/exomorph/exomorph + { + map textures/evil4_metals/mtlpanel + } + { + map $lightmap + blendfunc GL_DST_COLOR GL_ZERO + rgbGen identity + } +} + +textures/evil4_metals/mtlpanel_wrnstripe_ow +{ + dpreflectcube cubemaps/exomorph/exomorph + { + map textures/evil4_metals/mtlpanel_wrnstripe_ow + } + { + map $lightmap + blendfunc GL_DST_COLOR GL_ZERO + rgbGen identity + } +} + +textures/evil4_metals/mtlpanel_wrnstripe_ow2 +{ + dpreflectcube cubemaps/exomorph/exomorph + { + map textures/evil4_metals/mtlpanel_wrnstripe_ow2 + } + { + map $lightmap + blendfunc GL_DST_COLOR GL_ZERO + rgbGen identity + } +} + +textures/evil4_metals/mtlpanel_wrnstripe +{ + dpreflectcube cubemaps/exomorph/exomorph + { + map textures/evil4_metals/mtlpanel_wrnstripe + } + { + map $lightmap + blendfunc GL_DST_COLOR GL_ZERO + rgbGen identity + } +} + +textures/evil4_metals/mtlpanelsmll_ow +{ + dpreflectcube cubemaps/exomorph/exomorph + { + map textures/evil4_metals/mtlpanelsmll_ow + } + { + map $lightmap + blendfunc GL_DST_COLOR GL_ZERO + rgbGen identity + } +} + +textures/evil4_metals/mtlpanelsmll_ow2 +{ + dpreflectcube cubemaps/exomorph/exomorph + { + map textures/evil4_metals/mtlpanelsmll_ow2 + } + { + map $lightmap + blendfunc GL_DST_COLOR GL_ZERO + rgbGen identity + } +} + +textures/evil4_metals/mtlpanelsmll +{ + dpreflectcube cubemaps/exomorph/exomorph + { + map textures/evil4_metals/mtlpanelsmll + } + { + map $lightmap + blendfunc GL_DST_COLOR GL_ZERO + rgbGen identity + } +} + +textures/evil4_metals/mtlslots_ow +{ + dpreflectcube cubemaps/exomorph/exomorph + { + map textures/evil4_metals/mtlslots_ow + } + { + map $lightmap + blendfunc GL_DST_COLOR GL_ZERO + rgbGen identity + } +} + +textures/evil4_metals/mtlslots +{ + dpreflectcube cubemaps/exomorph/exomorph + { + map textures/evil4_metals/mtlslots + } + { + map $lightmap + blendfunc GL_DST_COLOR GL_ZERO + rgbGen identity + } +} + +textures/evil4_metals/mtlslotsrivts_ow +{ + dpreflectcube cubemaps/exomorph/exomorph + { + map textures/evil4_metals/mtlslotsrivts_ow + } + { + map $lightmap + blendfunc GL_DST_COLOR GL_ZERO + rgbGen identity + } +} + +textures/evil4_metals/mtlslotsrivts +{ + dpreflectcube cubemaps/exomorph/exomorph + { + map textures/evil4_metals/mtlslotsrivts + } + { + map $lightmap + blendfunc GL_DST_COLOR GL_ZERO + rgbGen identity + } +} + +textures/evil4_metals/mtlsportal +{ + dpreflectcube cubemaps/exomorph/exomorph + { + map textures/evil4_metals/mtlsportal + } + { + map $lightmap + blendfunc GL_DST_COLOR GL_ZERO + rgbGen identity + } +} + +textures/evil4_metals/mtltechwall_128 +{ + dpreflectcube cubemaps/exomorph/exomorph + { + map textures/evil4_metals/mtltechwall_128 + } + { + map $lightmap + blendfunc GL_DST_COLOR GL_ZERO + rgbGen identity + } +} + +textures/evil4_metals/mtltechwall +{ + dpreflectcube cubemaps/exomorph/exomorph + { + map textures/evil4_metals/mtltechwall + } + { + map $lightmap + blendfunc GL_DST_COLOR GL_ZERO + rgbGen identity + } +} + +textures/evil4_metals/mtlbrushed +{ + qer_editorimage textures/evil4_metals/mtlbrushed + + { + map textures/evil4_metals/mtlbrushed + blendFunc gl_dst_color gl_zero + rgbGen identity + } + { + map $lightmap + blendfunc GL_ONE_MINUS_SRC_ALPHA GL_SRC_ALPHA + rgbGen identity + } +} + + +textures/evil4_metals/mtltekfloor +{ + dpreflectcube cubemaps/exomorph/exomorph + q3map_surfacelight 100 + q3map_lightimage textures/evil4_metal/mtltekfloor_fx + + { + map textures/evil4_metals/mtltekfloor + } + + { + map $lightmap + blendfunc gl_dst_color gl_zero + rgbGen identity + } +} + +textures/evil4_metals/mtlwrndoor +{ + dpreflectcube cubemaps/exomorph/exomorph + { + map textures/evil4_metals/mtlwrndoor + } + { + map $lightmap + blendfunc GL_DST_COLOR GL_ZERO + rgbGen identity + } +} + +textures/evil4_metals/mtlwrndoor2 +{ + dpreflectcube cubemaps/exomorph/exomorph + { + map textures/evil4_metals/mtlwrndoor2 + } + { + map $lightmap + blendfunc GL_DST_COLOR GL_ZERO + rgbGen identity + } +} + +textures/evil4_metals/step +{ + dpreflectcube cubemaps/exomorph/exomorph + { + map textures/evil4_metals/step + } + { + map $lightmap + blendfunc GL_DST_COLOR GL_ZERO + rgbGen identity + } +} + +textures/evil4_metals/stepgrl +{ + dpreflectcube cubemaps/exomorph/exomorph + { + map textures/evil4_metals/stepgrl + } + { + map $lightmap + blendfunc GL_DST_COLOR GL_ZERO + rgbGen identity + } +} + +textures/evil4_metals/tekwallmulti +{ + dpreflectcube cubemaps/exomorph/exomorph + { + map textures/evil4_metals/tekwallmulti + } + { + map $lightmap + blendfunc GL_DST_COLOR GL_ZERO + rgbGen identity + } +} + +textures/evil4_metals/tekwallmulti_wrn +{ + dpreflectcube cubemaps/exomorph/exomorph + { + map textures/evil4_metals/tekwallmulti_wrn + } + { + map $lightmap + blendfunc GL_DST_COLOR GL_ZERO + rgbGen identity + } +} + +textures/evil4_metals/tekwallmulti_wrn2 +{ + dpreflectcube cubemaps/exomorph/exomorph + { + map textures/evil4_metals/tekwallmulti_wrn2 + } + { + map $lightmap + blendfunc GL_DST_COLOR GL_ZERO + rgbGen identity + } +} + +textures/evil4_metals/tekwallmulti_wrn2hfx +{ + dpreflectcube cubemaps/exomorph/exomorph + { + map textures/evil4_metals/tekwallmulti_wrn2hfx + } + { + map $lightmap + blendfunc GL_DST_COLOR GL_ZERO + rgbGen identity + } +} + +textures/evil4_metals/tekwallmulti_wrnb +{ + dpreflectcube cubemaps/exomorph/exomorph + { + map textures/evil4_metals/tekwallmulti_wrnb + } + { + map $lightmap + blendfunc GL_DST_COLOR GL_ZERO + rgbGen identity + } +} + +textures/evil4_metals/tekwallmulti_wrnlights +{ + dpreflectcube cubemaps/exomorph/exomorph + { + map textures/evil4_metals/tekwallmulti_wrnlights + } + { + map $lightmap + blendfunc GL_DST_COLOR GL_ZERO + rgbGen identity + } +} + +textures/evil4_metals/tekwallmulti_wrnlights2 +{ + dpreflectcube cubemaps/exomorph/exomorph + { + map textures/evil4_metals/tekwallmulti_wrnlights2 + } + { + map $lightmap + blendfunc GL_DST_COLOR GL_ZERO + rgbGen identity + } +} + +textures/evil4_metals/tekwallmulti2_0000 +{ + dpreflectcube cubemaps/exomorph/exomorph + { + map textures/evil4_metals/tekwallmulti2_0000 + } + { + map $lightmap + blendfunc GL_DST_COLOR GL_ZERO + rgbGen identity + } +} + +textures/evil4_metals/tekwallmulti2 +{ + dpreflectcube cubemaps/exomorph/exomorph + { + map textures/evil4_metals/tekwallmulti2 + } + { + map $lightmap + blendfunc GL_DST_COLOR GL_ZERO + rgbGen identity + } +} + +textures/evil4_metals/tekwallmulti2_wrn +{ + dpreflectcube cubemaps/exomorph/exomorph + { + map textures/evil4_metals/tekwallmulti2_wrn + } + { + map $lightmap + blendfunc GL_DST_COLOR GL_ZERO + rgbGen identity + } +} + +textures/evil4_metals/trimtl_grlbtm +{ + dpreflectcube cubemaps/exomorph/exomorph + { + map textures/evil4_metals/trimtl_grlbtm + } + { + map $lightmap + blendfunc GL_DST_COLOR GL_ZERO + rgbGen identity + } +} + +textures/evil4_metals/whitemtl_default +{ + dpreflectcube cubemaps/exomorph/exomorph + { + map textures/evil4_metals/whitemtl_default + } + { + map $lightmap + blendfunc GL_DST_COLOR GL_ZERO + rgbGen identity + } +} + +textures/evil4_metals/wrnjumppad +{ + dpreflectcube cubemaps/exomorph/exomorph + { + map $lightmap + rgbGen identity + } + { + map textures/evil4_metals/wrnjumppad.tga + blendFunc GL_DST_COLOR GL_ZERO + rgbGen identity + } + { + map textures/evil4_metals/wrnjumppad_glow.tga + rgbGen wave sin 0.5 0.5 1 1 + blendfunc GL_ONE GL_ONE + } +} \ No newline at end of file diff --git a/data/scripts/evil4_techfloors.shader b/data/scripts/evil4_techfloors.shader new file mode 100644 index 00000000..3a01cd0e --- /dev/null +++ b/data/scripts/evil4_techfloors.shader @@ -0,0 +1,166 @@ +textures/evil4_techfloors/tfloor +{ + dpreflectcube cubemaps/exomorph/exomorph + { + map textures/evil4_techfloors/tfloor + } + { + map $lightmap + blendfunc GL_DST_COLOR GL_ZERO + rgbGen identity + } +} + +textures/evil4_techfloors/tfloor_rndholes_drty +{ + dpreflectcube cubemaps/exomorph/exomorph + { + map textures/evil4_techfloors/tfloor_rndholes_drty + blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA + rgbGen identity + } + { + map $lightmap + blendFunc GL_DST_COLOR GL_ONE_MINUS_DST_ALPHA + rgbGen identity + } +} + +textures/evil4_techfloors/tfloor_rndholes +{ + dpreflectcube cubemaps/exomorph/exomorph + { + map textures/evil4_techfloors/tfloor_rndholes + blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA + rgbGen identity + } + { + map $lightmap + blendFunc GL_DST_COLOR GL_ONE_MINUS_DST_ALPHA + rgbGen identity + } +} + +textures/evil4_techfloors/tfloor2 +{ + dpreflectcube cubemaps/exomorph/exomorph + { + map textures/evil4_techfloors/tfloor2 + } + { + map $lightmap + blendfunc GL_DST_COLOR GL_ZERO + rgbGen identity + } +} + +textures/evil4_techfloors/tfloor2b +{ + dpreflectcube cubemaps/exomorph/exomorph + { + map textures/evil4_techfloors/tfloor2b + } + { + map $lightmap + blendfunc GL_DST_COLOR GL_ZERO + rgbGen identity + } +} + +textures/evil4_techfloors/tfloor3_huge +{ + dpreflectcube cubemaps/exomorph/exomorph + cull none + { + map textures/evil4_techfloors/tfloor3_huge + tcMod scale 2.0 2.0 + blendFunc GL_ONE GL_ZERO + alphaFunc GE128 + depthWrite + rgbGen identity + } + { + map $lightmap + blendFunc GL_DST_COLOR GL_ZERO + depthFunc equal + rgbGen identity + } +} + +textures/evil4_techfloors/tfloor3 +{ + dpreflectcube cubemaps/exomorph/exomorph + { + map textures/evil4_techfloors/tfloor3 + } + { + map $lightmap + blendfunc GL_DST_COLOR GL_ZERO + rgbGen identity + } +} + +textures/evil4_techfloors/tfloor4 +{ + dpreflectcube cubemaps/exomorph/exomorph + { + map textures/evil4_techfloors/tfloor4 + } + { + map $lightmap + blendfunc GL_DST_COLOR GL_ZERO + rgbGen identity + } +} + +textures/evil4_techfloors/tfloor4plain +{ + dpreflectcube cubemaps/exomorph/exomorph + { + map textures/evil4_techfloors/tfloor4plain + } + { + map $lightmap + blendfunc GL_DST_COLOR GL_ZERO + rgbGen identity + } +} + +textures/evil4_techfloors/tfloorhex_big +{ + dpreflectcube cubemaps/exomorph/exomorph + { + map textures/evil4_techfloors/tfloorhex_big + } + { + map $lightmap + blendfunc GL_DST_COLOR GL_ZERO + rgbGen identity + } +} + +textures/evil4_techfloors/tfloorhex_smll +{ + dpreflectcube cubemaps/exomorph/exomorph + { + map textures/evil4_techfloors/tfloorhex_smll + } + { + map $lightmap + blendfunc GL_DST_COLOR GL_ZERO + rgbGen identity + } +} + +textures/evil4_techfloors/tflooroddtile +{ + dpreflectcube cubemaps/exomorph/exomorph + { + map textures/evil4_techfloors/tflooroddtile + } + { + map $lightmap + blendfunc GL_DST_COLOR GL_ZERO + rgbGen identity + } +} diff --git a/data/scripts/evil4_techtrims.shader b/data/scripts/evil4_techtrims.shader index 52eea409..a049894f 100644 --- a/data/scripts/evil4_techtrims.shader +++ b/data/scripts/evil4_techtrims.shader @@ -1,672 +1,181 @@ -// tech floors - -textures/evil4_techfloors/tfloor3_huge -{ - cull none - { - map textures/evil4_techfloors/tfloor3_huge.tga - tcMod scale 2.0 2.0 - blendFunc GL_ONE GL_ZERO - alphaFunc GE128 - depthWrite - rgbGen identity - } - { - map $lightmap - blendFunc GL_DST_COLOR GL_ZERO - depthFunc equal - rgbGen identity - } -} - -textures/evil4_techfloors/tfloor_rndholes +textures/evil4_techtrims/cleantrimmulti { - { - map textures/evil4_techfloors/tfloor_rndholes.tga - blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA - rgbGen identity + dpreflectcube cubemaps/exomorph/exomorph + { + map textures/evil4_techtrims/cleantrimmulti } { map $lightmap - blendFunc GL_DST_COLOR GL_ONE_MINUS_DST_ALPHA + blendfunc GL_DST_COLOR GL_ZERO rgbGen identity - } + } } -textures/evil4_techfloors/tfloor_rndholes_drty +textures/evil4_techtrims/drkmtl_oddtrim { - { - map textures/evil4_techfloors/tfloor_rndholes_drty.tga - blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA - rgbGen identity + dpreflectcube cubemaps/exomorph/exomorph + { + map textures/evil4_techtrims/drkmtl_oddtrim } { map $lightmap - blendFunc GL_DST_COLOR GL_ONE_MINUS_DST_ALPHA + blendfunc GL_DST_COLOR GL_ZERO rgbGen identity - } + } } -//******************************************** -//******************************************** -//******************************************** -//**************evil metals section************** -//******************************************** -//******************************************** -//******************************************** - - -textures/evil4_metals/flrgrate +textures/evil4_techtrims/drttrimmulti { - { - map textures/evil4_metals/flrgrate.tga - blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA - rgbGen identity + dpreflectcube cubemaps/exomorph/exomorph + { + map textures/evil4_techtrims/drttrimmulti } { map $lightmap - blendFunc GL_DST_COLOR GL_ONE_MINUS_DST_ALPHA + blendfunc GL_DST_COLOR GL_ZERO rgbGen identity - } + } } -textures/evil4_metals/mtlflrslots +textures/evil4_techtrims/dw_combo { - { - map textures/evil4_metals/mtlflrslots.tga - blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA - rgbGen identity + dpreflectcube cubemaps/exomorph/exomorph + { + map textures/evil4_techtrims/dw_combo } { map $lightmap - blendFunc GL_DST_COLOR GL_ONE_MINUS_DST_ALPHA + blendfunc GL_DST_COLOR GL_ZERO rgbGen identity - } + } } - -textures/evil4_metals/mtlbrushed +textures/evil4_techtrims/dwtrim_bevel { - qer_editorimage textures/evil4_metals/mtlbrushed.tga - - { - map textures/evil4_metals/mtlbrushed.tga - blendFunc gl_dst_color gl_zero - rgbGen identity + dpreflectcube cubemaps/exomorph/exomorph + { + map textures/evil4_techtrims/dwtrim_bevel } { map $lightmap - blendfunc GL_ONE_MINUS_SRC_ALPHA GL_SRC_ALPHA + blendfunc GL_DST_COLOR GL_ZERO rgbGen identity - } + } } - -textures/evil4_metals/mtltekfloor +textures/evil4_techtrims/dwtrim_bevelslite { - q3map_surfacelight 100 - q3map_lightimage textures/evil4_metal/mtltekfloor_fx.tga - - { - map textures/evil4_metals/mtltekfloor.tga - } - - { - map $lightmap - blendfunc gl_dst_color gl_zero - rgbGen identity + dpreflectcube cubemaps/exomorph/exomorph + { + map textures/evil4_techtrims/dwtrim_bevelslite } -} - -textures/evil4_metals/wrnjumppad -{ { map $lightmap + blendfunc GL_DST_COLOR GL_ZERO rgbGen identity - } - { - map textures/evil4_metals/wrnjumppad.tga - blendFunc GL_DST_COLOR GL_ZERO - rgbGen identity - } - { - map textures/evil4_metals/wrnjumppad_glow.tga - rgbGen wave sin 0.5 0.5 1 1 - blendfunc GL_ONE GL_ONE - } + } } -//******************************************** -//******************************************** -//******************************************** -//**************evil lights section*************** -//******************************************** -//******************************************** -//******************************************** - -textures/evil4_lights/steplight +textures/evil4_techtrims/dwtrim_fade { - surfaceparm nomarks - q3map_surfacelight 1000 - //light1 - { - map $lightmap - rgbGen identity - } - { - map textures/evil4_lights/steplight.tga - blendFunc GL_DST_COLOR GL_ZERO - rgbGen identity + dpreflectcube cubemaps/exomorph/exomorph + { + map textures/evil4_techtrims/dwtrim_fade } - { - map textures/evil4_lights/steplight_glow.tga - blendfunc GL_ONE GL_ONE - } -} - -textures/evil4_lights/drkmtlsupport_light -{ - surfaceparm nomarks - q3map_surfacelight 1000 { map $lightmap + blendfunc GL_DST_COLOR GL_ZERO rgbGen identity - } - { - map textures/evil4_lights/drkmtlsupport_light.tga - blendFunc GL_DST_COLOR GL_ZERO - rgbGen identity - } - { - map textures/evil4_lights/drkmtlsupport_light_glow.tga - rgbGen wave sin 0.5 0.5 1 .5 - blendfunc GL_ONE GL_ONE - } + } } -textures/evil4_lights/s_light +textures/evil4_techtrims/dwtrim_fade2 { - qer_editorimage textures/evil4_lights/s_light.jpg - surfaceparm nomarks - q3map_surfacelight 2500 - { - map textures/evil4_lights/s_light.jpg - //blendFunc GL_DST_COLOR GL_ZERO - rgbGen identity + dpreflectcube cubemaps/exomorph/exomorph + { + map textures/evil4_techtrims/dwtrim_fade2 } { map $lightmap + blendfunc GL_DST_COLOR GL_ZERO rgbGen identity - blendFunc Filter - } + } } -textures/evil4_lights/t_mtllight +textures/evil4_techtrims/dwtrim_grill { - surfaceparm nomarks - q3map_surfacelight 1000 - //light1 - { - map $lightmap - rgbGen identity - } - { - map textures/evil4_lights/t_mtllight.jpg - blendFunc GL_DST_COLOR GL_ZERO - rgbGen identity + dpreflectcube cubemaps/exomorph/exomorph + { + map textures/evil4_techtrims/dwtrim_grill } -} - -textures/evil4_lights/mtl_lightsmll -{ - surfaceparm nomarks - q3map_surfacelight 1000 - //light1 { map $lightmap + blendfunc GL_DST_COLOR GL_ZERO rgbGen identity - } - { - map textures/evil4_lights/mtl_lightsmll.jpg - blendFunc GL_DST_COLOR GL_ZERO - rgbGen identity - } + } } -//double glowing effect light strips - -textures/evil4_lights/l_light_b +textures/evil4_techtrims/dwtrim_grt { - q3map_surfacelight 5000 - q3map_lightimage textures/evil4_lights/l_light_b.jpg - { - map $lightmap - rgbGen identity + dpreflectcube cubemaps/exomorph/exomorph + { + map textures/evil4_techtrims/dwtrim_grt } - { - map textures/evil4_lights/l_light_b.jpg - blendFunc GL_DST_COLOR GL_ZERO - rgbGen identity - } -} - -textures/evil4_lights/l_light_g -{ - q3map_surfacelight 5000 - q3map_lightimage textures/evil4_lights/l_light_g.jpg { map $lightmap + blendfunc GL_DST_COLOR GL_ZERO rgbGen identity - } - { - map textures/evil4_lights/l_light_g.jpg - blendFunc GL_DST_COLOR GL_ZERO - rgbGen identity - } + } } -textures/evil4_lights/l_light_r +textures/evil4_techtrims/dwtrim_panel { - q3map_surfacelight 5000 - q3map_lightimage textures/evil4_lights/l_light_r.jpg - { - map $lightmap - rgbGen identity - } - { - map textures/evil4_lights/l_light_r.jpg - blendFunc GL_DST_COLOR GL_ZERO - rgbGen identity + dpreflectcube cubemaps/exomorph/exomorph + { + map textures/evil4_techtrims/dwtrim_panel } -} - -textures/evil4_lights/l_light_w -{ - q3map_surfacelight 5000 - q3map_lightimage textures/evil4_lights/l_light_w.jpg { map $lightmap + blendfunc GL_DST_COLOR GL_ZERO rgbGen identity - } - { - map textures/evil4_lights/l_light_w.jpg - blendFunc GL_DST_COLOR GL_ZERO - rgbGen identity - } + } } -textures/evil4_lights/mtl_l1 +textures/evil4_techtrims/dwtrim_panel2 { - q3map_surfacelight 1000 - q3map_lightimage textures/evil4_lights/mtl_l1.tga - // LordHavoc: replaced most of this shader - { - map textures/evil4_lights/mtl_l1.tga + dpreflectcube cubemaps/exomorph/exomorph + { + map textures/evil4_techtrims/dwtrim_panel2 } { map $lightmap + blendfunc GL_DST_COLOR GL_ZERO rgbGen identity - blendfunc filter - } - { - map textures/evil4_lights/mtl_l1_glow.tga - blendfunc add - } - // LordHavoc: original shader - //{ - // map textures/evil4_lights/mtl_l1_fx.tga - // //blendfunc add - // tcmod scale 12 1 - // rgbGen identity - // tcMod scroll 0 1 - //} - //{ - // map textures/evil4_lights/mtl_l1_fx.tga - // blendfunc add - // //tcmod scale 25 1 - // rgbGen identity - // tcMod scroll 1 0 - //} - //{ - // map textures/evil4_lights/mtl_l1.tga - // blendfunc blend - // rgbGen identity - //} - //{ - // map textures/evil4_lights/mtl_l1_glow.tga - // blendfunc add - // tcmod scale 1 1 - //} - //{ - // map $lightmap - // rgbGen identity - // blendfunc filter - //} + } } -//border light - -textures/evil4_lights/trimtl_grlbtm_light +textures/evil4_techtrims/medmtl_oddtrim { - q3map_surfacelight 5000 - qer_editorimage textures/evil4_lights/trimtl_grlbtm_light.tga - { - map textures/evil4_lights/trimtl_grlbtm_light.tga - rgbGen identity - } - { - map $lightmap - rgbGen identity - blendfunc gl_dst_color gl_zero + dpreflectcube cubemaps/exomorph/exomorph + { + map textures/evil4_techtrims/medmtl_oddtrim } -} - -textures/evil4_lights/s_bluelight -{ - q3map_surfacelight 1000 - q3map_lightimage textures/evil4_lights/s_bluelight.tga - { - map textures/evil4_lights/s_bluelight.tga - rgbGen identity - } { map $lightmap + blendfunc GL_DST_COLOR GL_ZERO rgbGen identity - blendfuns filter - } + } } -//******************************************** -//******************************************** -//******************************************** -//**************evil fx section****************** -//******************************************** -//******************************************** -//******************************************** - -// portal - -textures/evil4_fx/mtlportal_fx +textures/evil4_techtrims/misc_grill { - qer_editorimage textures/evil4_fx/mtlportal.tga - cull disable - surfaceparm nomarks - surfaceparm trans - sort additive - { - clampmap textures/evil4_fx/mtlportal_fx1.tga - blendFunc add - tcmod rotate -100 - rgbGen identity - } - { - clampmap textures/evil4_fx/mtlportal_fx2.tga - blendFunc add - tcmod rotate 100 - rgbGen identity - } - { - clampmap textures/evil4_fx/mtlportal.tga - alphaFunc GE128 - depthWrite - rgbGen identity + dpreflectcube cubemaps/exomorph/exomorph + { + map textures/evil4_techtrims/misc_grill } { map $lightmap + blendfunc GL_DST_COLOR GL_ZERO rgbGen identity - blendFunc GL_DST_COLOR GL_ZERO - depthFunc equal - } -} - -//snow -textures/evil4_fx/teleprtr -{ - cull disable - surfaceparm nomarks - surfaceparm trans - sort additive - { - clampmap textures/evil4_fx/teleprtr_fx3.tga - blendFunc add - tcmod rotate -267 - rgbGen identity - } - { - clampmap textures/evil4_fx/teleprtr_fx1.tga - blendFunc add - tcmod rotate 155 - rgbGen identity - } - { - clampmap textures/evil4_fx/teleprtr_fx2.tga - blendFunc add - tcmod rotate -100 - rgbGen identity - } - { - clampmap textures/evil4_fx/teleprtr.tga - alphaFunc GE128 - depthWrite - rgbGen identity - } - { - map $lightmap - rgbGen identity - blendFunc GL_DST_COLOR GL_ZERO - depthFunc equal - } -} - -//******************************************** -//******************************************** -//******************************************** -//**************evil tech wall section************ -//******************************************** -//******************************************** -//******************************************** - -textures/evil4_techwalls/tech_dw2 -{ - { - map textures/evil4_techwalls/tech_dw2.tga - rgbGen identity - } - { - map $lightmap - blendfunc filter - rgbGen identity - } - { - map textures/evil4_techwalls/tech_dw2_fx.tga - blendFunc add - rgbGen wave sin .5 .5 0 3 - } -} - -textures/evil4_techwalls/tech_dw2g -{ - { - map textures/evil4_techwalls/tech_dw2g.tga - rgbGen identity - } - { - map $lightmap - blendfunc filter - rgbGen identity - } - { - map textures/evil4_techwalls/tech_dw2_fx.tga - blendFunc add - rgbGen wave sin .5 .5 0 3 - } -} - -textures/evil4_techwalls/tech_dw2gb -{ - { - map textures/evil4_techwalls/tech_dw2gb.tga - rgbGen identity - } - { - map $lightmap - blendfunc filter - rgbGen identity - } - { - map textures/evil4_techwalls/tech_dw2_fx.tga - blendFunc add - rgbGen wave sin .5 .5 0 3 - } -} - -textures/evil4_techwalls/tech_wall_dlight -{ - surfaceparm nomarks - q3map_surfacelight 5000 - { - map $lightmap - rgbGen identity - } - { - map textures/evil4_techwalls/tech_wall_dlight.tga - blendFunc GL_DST_COLOR GL_ZERO - rgbGen identity - } -} - - - - -//tech window with transparency - -textures/evil4_techwalls/tech_window -{ - cull twosided - - { - map textures/evil4_techwalls/tech_window.tga - blendFunc blend - rgbGen identity - } - { - map $lightmap - blendFunc GL_DST_COLOR GL_ONE_MINUS_DST_ALPHA - rgbGen identity - } -} - -//******************************************** -//******************************************** -//******************************************** -//******************************************** -//******************************************** -// techwall section II -// This is the dirty version of the evil_techwalls... -// I added d_ to the filenames. -//******************************************** -//******************************************** -//******************************************** -//******************************************** -//******************************************** - -textures/evil4_d_techwalls/d_tech_dw2 -{ - { - map textures/evil4_d_techwalls/d_tech_dw2.tga - rgbGen identity - } - { - map $lightmap - blendfunc filter - rgbGen identity - } - { - map textures/evil4_d_techwalls/d_tech_dw2_fx.tga - blendFunc add - rgbGen wave sin .5 .5 0 3 - } -} - -textures/evil4_d_techwalls/d_tech_dw2g -{ - { - map textures/evil4_d_techwalls/d_tech_dw2g.tga - rgbGen identity - } - { - map $lightmap - blendfunc filter - rgbGen identity - } - { - map textures/evil4_d_techwalls/d_tech_dw2_fx.tga - blendFunc add - rgbGen wave sin .5 .5 0 3 - } -} - -textures/evil4_d_techwalls/d_tech_dw2gb -{ - { - map textures/evil4_d_techwalls/d_tech_dw2gb.tga - rgbGen identity - } - { - map $lightmap - blendfunc filter - rgbGen identity - } - { - map textures/evil4_d_techwalls/d_tech_dw2_fx.tga - blendFunc add - rgbGen wave sin .5 .5 0 3 - } -} - -textures/evil4_d_techwalls/d_tech_wall_dlight -{ - surfaceparm nomarks - q3map_surfacelight 5000 - { - map textures/evil4_d_techwalls/d_tech_wall_dlight.tga - rgbGen identity - } - { - map $lightmap - blendfunc filter - rgbGen identity - } -} - -textures/evil4_d_techwalls/d_tech_window -{ - cull twosided - { - map textures/evil4_d_techwalls/d_tech_window.tga - blendFunc blend - rgbGen identity - } - - { - map $lightmap - blendFunc GL_DST_COLOR GL_ONE_MINUS_DST_ALPHA - rgbGen identity - } -} - - - -textures/evil4_d_techwalls/d_drkmtl_dpanelwrnb2 -{ - { - map textures/evil4_d_techwalls/d_drkmtl_dpanelwrnb2.tga - blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA - rgbGen identity - } - { - map $lightmap - blendFunc GL_DST_COLOR GL_ONE_MINUS_DST_ALPHA - rgbGen identity - } + } } diff --git a/data/scripts/evil4_techwalls.shader b/data/scripts/evil4_techwalls.shader new file mode 100644 index 00000000..cdf90e76 --- /dev/null +++ b/data/scripts/evil4_techwalls.shader @@ -0,0 +1,89 @@ +textures/evil4_techwalls/tech_dw2 +{ + { + map textures/evil4_techwalls/tech_dw2.tga + rgbGen identity + } + { + map $lightmap + blendfunc filter + rgbGen identity + } + { + map textures/evil4_techwalls/tech_dw2_fx.tga + blendFunc add + rgbGen wave sin .5 .5 0 3 + } +} + +textures/evil4_techwalls/tech_dw2g +{ + { + map textures/evil4_techwalls/tech_dw2g.tga + rgbGen identity + } + { + map $lightmap + blendfunc filter + rgbGen identity + } + { + map textures/evil4_techwalls/tech_dw2_fx.tga + blendFunc add + rgbGen wave sin .5 .5 0 3 + } +} + +textures/evil4_techwalls/tech_dw2gb +{ + { + map textures/evil4_techwalls/tech_dw2gb.tga + rgbGen identity + } + { + map $lightmap + blendfunc filter + rgbGen identity + } + { + map textures/evil4_techwalls/tech_dw2_fx.tga + blendFunc add + rgbGen wave sin .5 .5 0 3 + } +} + +textures/evil4_techwalls/tech_wall_dlight +{ + surfaceparm nomarks + q3map_surfacelight 5000 + { + map $lightmap + rgbGen identity + } + { + map textures/evil4_techwalls/tech_wall_dlight.tga + blendFunc GL_DST_COLOR GL_ZERO + rgbGen identity + } +} + + + + +//tech window with transparency + +textures/evil4_techwalls/tech_window +{ + cull twosided + + { + map textures/evil4_techwalls/tech_window.tga + blendFunc blend + rgbGen identity + } + { + map $lightmap + blendFunc GL_DST_COLOR GL_ONE_MINUS_DST_ALPHA + rgbGen identity + } +} diff --git a/data/scripts/shaderlist.txt b/data/scripts/shaderlist.txt index 61663ff8..5b4ca1fe 100644 --- a/data/scripts/shaderlist.txt +++ b/data/scripts/shaderlist.txt @@ -25,7 +25,13 @@ evil3_misc evil3_metals evil3_support evil3_walls +evil4_d_techwalls +evil4_fx +evil4_lights +evil4_metals +evil4_techfloors evil4_techtrims +evil4_techwalls evil5 evil6_floors evil6_lights -- 2.39.2