From: MirceaKitsune Date: Sat, 28 Jan 2012 19:52:41 +0000 (+0200) Subject: e7 and e8 cubemap shaders X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=49bfe39068e608a54a14910e43c3812416bd8dac;p=voretournament%2Fvoretournament.git e7 and e8 cubemap shaders --- diff --git a/data/scripts/e7.shader b/data/scripts/e7.shader index 37c6691c..c1a87c0c 100644 --- a/data/scripts/e7.shader +++ b/data/scripts/e7.shader @@ -2,31 +2,148 @@ // http://www.planetquake.com/hfx // // hfx@planetquake.com // -//evil jump pad +textures/e7/e7beam01 +{ + dpreflectcube cubemaps/exomorph/exomorph + surfaceparm metalsteps + { + map textures/e7/e7beam01 + } + { + map $lightmap + blendfunc GL_DST_COLOR GL_ZERO + rgbGen identity + } +} -textures/e7/e7brickfloor01jump +textures/e7/e7beam02_blue { - qer_editorimage textures/e7/e7brickfloor01jump.tga - q3map_lightimage textures/e7/e7brickfloor01jump_glow.tga - surfaceparm nomarks - q3map_surfacelight 400 - + dpreflectcube cubemaps/exomorph/exomorph + surfaceparm metalsteps + { + map textures/e7/e7beam02_blue + } { - map textures/e7/e7brickfloor01jump - animmap 10 textures/e7/e7brickfloor01jump textures/e7/e7brickfloor01jump-1 textures/e7/e7brickfloor01jump-2 textures/e7/e7brickfloor01jump-3 textures/e7/e7brickfloor01jump-4 textures/e7/e7brickfloor01jump-5 textures/e7/e7brickfloor01jump-6 textures/e7/e7brickfloor01jump-7 + map $lightmap + blendfunc GL_DST_COLOR GL_ZERO + rgbGen identity + } +} + +textures/e7/e7beam02_red +{ + dpreflectcube cubemaps/exomorph/exomorph + surfaceparm metalsteps + { + map textures/e7/e7beam02_red } { map $lightmap - blendfunc filter + blendfunc GL_DST_COLOR GL_ZERO rgbGen identity - tcGen lightmap + } +} + +textures/e7/e7beam02 +{ + dpreflectcube cubemaps/exomorph/exomorph + surfaceparm metalsteps + { + map textures/e7/e7beam02 + } + { + map $lightmap + blendfunc GL_DST_COLOR GL_ZERO + rgbGen identity + } +} + +textures/e7/e7bmtrim2 +{ + dpreflectcube cubemaps/exomorph/exomorph + surfaceparm metalsteps + { + map textures/e7/e7bmtrim2 + } + { + map $lightmap + blendfunc GL_DST_COLOR GL_ZERO + rgbGen identity + } +} + +textures/e7/e7brickfloor01 +{ + dpreflectcube cubemaps/exomorph/exomorph + { + map textures/e7/e7brickfloor01 + } + { + map $lightmap + blendfunc GL_DST_COLOR GL_ZERO + rgbGen identity + } +} + +textures/e7/e7brnmetal +{ + dpreflectcube cubemaps/exomorph/exomorph + surfaceparm metalsteps + { + map textures/e7/e7brnmetal + } + { + map $lightmap + blendfunc GL_DST_COLOR GL_ZERO + rgbGen identity + } +} + +textures/e7/e7dimfloor_ow +{ + dpreflectcube cubemaps/exomorph/exomorph + { + map textures/e7/e7dimfloor_ow } + { + map $lightmap + blendfunc GL_DST_COLOR GL_ZERO + rgbGen identity + } +} +textures/e7/e7dimfloor +{ + dpreflectcube cubemaps/exomorph/exomorph + { + map textures/e7/e7dimfloor + } + { + map $lightmap + blendfunc GL_DST_COLOR GL_ZERO + rgbGen identity + } +} + +textures/e7/e7grate01 +{ + dpreflectcube cubemaps/exomorph/exomorph + surfaceparm metalsteps + { + map textures/e7/e7grate01 + } + { + map $lightmap + blendfunc GL_DST_COLOR GL_ZERO + rgbGen identity + } } textures/e7/e7mlight { - qer_editorimage textures/e7/e7mlight.tga + dpreflectcube cubemaps/exomorph/exomorph + qer_editorimage textures/e7/e7mlight + surfaceparm metalsteps surfaceparm nomarks q3map_surfacelight 1500 { @@ -41,11 +158,77 @@ textures/e7/e7mlight } } -//small light +textures/e7/e7plate01 +{ + dpreflectcube cubemaps/exomorph/exomorph + surfaceparm metalsteps + { + map textures/e7/e7plate01 + } + { + map $lightmap + blendfunc GL_DST_COLOR GL_ZERO + rgbGen identity + } +} + +textures/e7/e7sbrickfloor_ow +{ + dpreflectcube cubemaps/exomorph/exomorph + { + map textures/e7/e7sbrickfloor_ow + } + { + map $lightmap + blendfunc GL_DST_COLOR GL_ZERO + rgbGen identity + } +} + +textures/e7/e7sbrickfloor_ow +{ + dpreflectcube cubemaps/exomorph/exomorph + { + map textures/e7/e7sbrickfloor_ow + } + { + map $lightmap + blendfunc GL_DST_COLOR GL_ZERO + rgbGen identity + } +} + +textures/e7/e7sbrickfloor +{ + dpreflectcube cubemaps/exomorph/exomorph + { + map textures/e7/e7sbrickfloor + } + { + map $lightmap + blendfunc GL_DST_COLOR GL_ZERO + rgbGen identity + } +} + +textures/e7/e7sbrickfloorbig +{ + dpreflectcube cubemaps/exomorph/exomorph + { + map textures/e7/e7sbrickfloorbig + } + { + map $lightmap + blendfunc GL_DST_COLOR GL_ZERO + rgbGen identity + } +} textures/e7/e7slight { - qer_editorimage textures/e7/e7slight.tga + dpreflectcube cubemaps/exomorph/exomorph + qer_editorimage textures/e7/e7slight + surfaceparm metalsteps surfaceparm nomarks q3map_surfacelight 2500 { @@ -60,10 +243,105 @@ textures/e7/e7slight } } +textures/e7/e7smgrate +{ + dpreflectcube cubemaps/exomorph/exomorph + qer_editorimage textures/e7/e7smgrate.tga + surfaceparm alphashadow + surfaceparm metalsteps + //surfaceparm trans + cull disable + nopicmip + { + map textures/e7/e7smgrate.tga + rgbGen identity + depthWrite + alphaFunc GE128 + } + { + map $lightmap + blendfunc filter + rgbGen identity + tcGen lightmap + depthFunc equal + } +} + +textures/e7/e7stepborder +{ + dpreflectcube cubemaps/exomorph/exomorph + surfaceparm metalsteps + { + map textures/e7/e7stepborder + } + { + map $lightmap + blendfunc GL_DST_COLOR GL_ZERO + rgbGen identity + } +} + +textures/e7/e7stepborder2 +{ + dpreflectcube cubemaps/exomorph/exomorph + surfaceparm metalsteps + { + map textures/e7/e7stepborder2 + } + { + map $lightmap + blendfunc GL_DST_COLOR GL_ZERO + rgbGen identity + } +} + +textures/e7/e7steptop +{ + dpreflectcube cubemaps/exomorph/exomorph + surfaceparm metalsteps + { + map textures/e7/e7steptop + } + { + map $lightmap + blendfunc GL_DST_COLOR GL_ZERO + rgbGen identity + } +} + +textures/e7/e7steptop2 +{ + dpreflectcube cubemaps/exomorph/exomorph + { + map textures/e7/e7steptop2 + } + { + map $lightmap + blendfunc GL_DST_COLOR GL_ZERO + rgbGen identity + } +} + +textures/e7/e7trim01 +{ + dpreflectcube cubemaps/exomorph/exomorph + surfaceparm metalsteps + { + map textures/e7/e7trim01 + } + { + map $lightmap + blendfunc GL_DST_COLOR GL_ZERO + rgbGen identity + } +} + textures/e7/e7trimlight { + dpreflectcube cubemaps/exomorph/exomorph qer_editorimage textures/e7/e7trimlight.tga surfaceparm nomarks + surfaceparm metalsteps q3map_surfacelight 700 { map $lightmap @@ -77,10 +355,9 @@ textures/e7/e7trimlight } } -//evilgrate - textures/e7/e7wgrate { + dpreflectcube cubemaps/exomorph/exomorph qer_editorimage textures/e7/e7wgrate.tga surfaceparm alphashadow surfaceparm nomarks @@ -103,7 +380,39 @@ textures/e7/e7wgrate } } -// evil lava - sorta looks bad ingame - imho +textures/e7/e7wgrate +{ + dpreflectcube cubemaps/exomorph/exomorph + surfaceparm metalsteps + { + map textures/e7/e7wgrate + } + { + map $lightmap + blendfunc GL_DST_COLOR GL_ZERO + rgbGen identity + } +} + +textures/e7/e7brickfloor01jump +{ + qer_editorimage textures/e7/e7brickfloor01jump.tga + q3map_lightimage textures/e7/e7brickfloor01jump_glow.tga + surfaceparm nomarks + q3map_surfacelight 400 + + { + map textures/e7/e7brickfloor01jump + animmap 10 textures/e7/e7brickfloor01jump textures/e7/e7brickfloor01jump-1 textures/e7/e7brickfloor01jump-2 textures/e7/e7brickfloor01jump-3 textures/e7/e7brickfloor01jump-4 textures/e7/e7brickfloor01jump-5 textures/e7/e7brickfloor01jump-6 textures/e7/e7brickfloor01jump-7 + } + { + map $lightmap + blendfunc filter + rgbGen identity + tcGen lightmap + } + +} textures/e7/e7sfx_lava { @@ -124,8 +433,6 @@ textures/e7/e7sfx_lava } } -//evil sky of impending doom :P - textures/e7/e7evilsky_1 { qer_editorimage textures/e7/e7evilsky_1.tga @@ -177,8 +484,6 @@ textures/e7/e7rain } } -//dark redish sky - textures/e7/e7sky_01 { qer_editorimage textures/e7/e7sky_01.tga @@ -202,8 +507,6 @@ textures/e7/e7sky_01 } } -//jump pad 2 - textures/e7/e7sbrickfloor_jump { qer_editorimage textures/e7/e7sbrickfloor_jump.tga @@ -223,28 +526,3 @@ textures/e7/e7sbrickfloor_jump } } - -//small grate - -textures/e7/e7smgrate -{ - qer_editorimage textures/e7/e7smgrate.tga - surfaceparm alphashadow - surfaceparm metalsteps - //surfaceparm trans - cull disable - nopicmip - { - map textures/e7/e7smgrate.tga - rgbGen identity - depthWrite - alphaFunc GE128 - } - { - map $lightmap - blendfunc filter - rgbGen identity - tcGen lightmap - depthFunc equal - } -} diff --git a/data/scripts/e8.shader b/data/scripts/e8.shader index 9cd5c551..77a79d10 100644 --- a/data/scripts/e8.shader +++ b/data/scripts/e8.shader @@ -1,3 +1,199 @@ +textures/e8/e8_launchpad1 +{ + dpreflectcube cubemaps/exomorph/exomorph + surfaceparm metalsteps + { + map textures/e8/e8_launchpad1 + } + { + map $lightmap + blendfunc GL_DST_COLOR GL_ZERO + rgbGen identity + } +} + +textures/e8/e8bolttrim +{ + dpreflectcube cubemaps/exomorph/exomorph + surfaceparm metalsteps + { + map textures/e8/e8bolttrim + } + { + map $lightmap + blendfunc GL_DST_COLOR GL_ZERO + rgbGen identity + } +} + +textures/e8/e8clangfloor05 +{ + dpreflectcube cubemaps/exomorph/exomorph + surfaceparm metalsteps + { + map textures/e8/e8clangfloor05 + } + { + map $lightmap + blendfunc GL_DST_COLOR GL_ZERO + rgbGen identity + } +} + +textures/e8/e8lighttrim_b +{ + dpreflectcube cubemaps/exomorph/exomorph + surfaceparm metalsteps + { + map textures/e8/e8lighttrim_b + } + { + map $lightmap + blendfunc GL_DST_COLOR GL_ZERO + rgbGen identity + } +} + +textures/e8/e8lighttrim +{ + dpreflectcube cubemaps/exomorph/exomorph + surfaceparm metalsteps + { + map textures/e8/e8lighttrim + } + { + map $lightmap + blendfunc GL_DST_COLOR GL_ZERO + rgbGen identity + } +} + +textures/e8/e8mtltrim1b +{ + dpreflectcube cubemaps/exomorph/exomorph + surfaceparm metalsteps + { + map textures/e8/e8mtltrim1b + } + { + map $lightmap + blendfunc GL_DST_COLOR GL_ZERO + rgbGen identity + } +} + +textures/e8/e8rail2 +{ + dpreflectcube cubemaps/exomorph/exomorph + surfaceparm metalsteps + { + map textures/e8/e8rail2 + } + { + map $lightmap + blendfunc GL_DST_COLOR GL_ZERO + rgbGen identity + } +} + +textures/e8/e8tinylightblue +{ + dpreflectcube cubemaps/exomorph/exomorph + surfaceparm metalsteps + { + map textures/e8/e8tinylightblue + } + { + map $lightmap + blendfunc GL_DST_COLOR GL_ZERO + rgbGen identity + } +} + +textures/e8/e8trimlight +{ + dpreflectcube cubemaps/exomorph/exomorph + surfaceparm metalsteps + { + map textures/e8/e8trimlight + } + { + map $lightmap + blendfunc GL_DST_COLOR GL_ZERO + rgbGen identity + } +} + +textures/e8/e8trimlight2 +{ + dpreflectcube cubemaps/exomorph/exomorph + surfaceparm metalsteps + { + map textures/e8/e8trimlight2 + } + { + map $lightmap + blendfunc GL_DST_COLOR GL_ZERO + rgbGen identity + } +} + +textures/e8/e8warning2 +{ + dpreflectcube cubemaps/exomorph/exomorph + surfaceparm metalsteps + { + map textures/e8/e8warning2 + } + { + map $lightmap + blendfunc GL_DST_COLOR GL_ZERO + rgbGen identity + } +} + +textures/e8/e8xgirder +{ + dpreflectcube cubemaps/exomorph/exomorph + surfaceparm metalsteps + { + map textures/e8/e8xgirder + } + { + map $lightmap + blendfunc GL_DST_COLOR GL_ZERO + rgbGen identity + } +} + +textures/e8/e8xgirder_small +{ + dpreflectcube cubemaps/exomorph/exomorph + surfaceparm metalsteps + { + map textures/e8/e8xgirder_small + } + { + map $lightmap + blendfunc GL_DST_COLOR GL_ZERO + rgbGen identity + } +} + +textures/e8/e8xgirder_small2 +{ + dpreflectcube cubemaps/exomorph/exomorph + surfaceparm metalsteps + { + map textures/e8/e8xgirder_small2 + } + { + map $lightmap + blendfunc GL_DST_COLOR GL_ZERO + rgbGen identity + } +} + textures/e8/e8jumpspawn02b { dpreflectcube cubemaps/exomorph/exomorph