]> de.git.xonotic.org Git - voretournament/voretournament.git/commitdiff
e7 and e8 cubemap shaders
authorMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Sat, 28 Jan 2012 19:52:41 +0000 (21:52 +0200)
committerMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Sat, 28 Jan 2012 19:52:41 +0000 (21:52 +0200)
data/scripts/e7.shader
data/scripts/e8.shader

index 37c6691cc57a8cbb06c69a6b908e2eba35d2df6e..c1a87c0cfca146abe6b7d344c9c72f8af2a71532 100644 (file)
 //   http://www.planetquake.com/hfx       //\r
 //       hfx@planetquake.com             //\r
 \r
-//evil jump pad\r
+textures/e7/e7beam01\r
+{\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       surfaceparm metalsteps\r
+       {\r
+               map textures/e7/e7beam01\r
+       }\r
+       {\r
+               map $lightmap\r
+               blendfunc GL_DST_COLOR GL_ZERO\r
+               rgbGen identity\r
+    }\r
+}\r
 \r
-textures/e7/e7brickfloor01jump\r
+textures/e7/e7beam02_blue\r
 {\r
-       qer_editorimage textures/e7/e7brickfloor01jump.tga\r
-       q3map_lightimage textures/e7/e7brickfloor01jump_glow.tga\r
-       surfaceparm nomarks\r
-       q3map_surfacelight 400\r
-       \r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       surfaceparm metalsteps\r
+       {\r
+               map textures/e7/e7beam02_blue\r
+       }\r
        {\r
-               map textures/e7/e7brickfloor01jump\r
-               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\r
+               map $lightmap\r
+               blendfunc GL_DST_COLOR GL_ZERO\r
+               rgbGen identity\r
+    }\r
+}\r
+\r
+textures/e7/e7beam02_red\r
+{\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       surfaceparm metalsteps\r
+       {\r
+               map textures/e7/e7beam02_red\r
        }\r
        {\r
                map $lightmap\r
-               blendfunc filter\r
+               blendfunc GL_DST_COLOR GL_ZERO\r
                rgbGen identity\r
-               tcGen lightmap\r
+    }\r
+}\r
+\r
+textures/e7/e7beam02\r
+{\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       surfaceparm metalsteps\r
+       {\r
+               map textures/e7/e7beam02\r
+       }\r
+       {\r
+               map $lightmap\r
+               blendfunc GL_DST_COLOR GL_ZERO\r
+               rgbGen identity\r
+    }\r
+}\r
+\r
+textures/e7/e7bmtrim2\r
+{\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       surfaceparm metalsteps\r
+       {\r
+               map textures/e7/e7bmtrim2\r
+       }\r
+       {\r
+               map $lightmap\r
+               blendfunc GL_DST_COLOR GL_ZERO\r
+               rgbGen identity\r
+    }\r
+}\r
+\r
+textures/e7/e7brickfloor01\r
+{\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       {\r
+               map textures/e7/e7brickfloor01\r
+       }\r
+       {\r
+               map $lightmap\r
+               blendfunc GL_DST_COLOR GL_ZERO\r
+               rgbGen identity\r
+    }\r
+}\r
+\r
+textures/e7/e7brnmetal\r
+{\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       surfaceparm metalsteps\r
+       {\r
+               map textures/e7/e7brnmetal\r
+       }\r
+       {\r
+               map $lightmap\r
+               blendfunc GL_DST_COLOR GL_ZERO\r
+               rgbGen identity\r
+    }\r
+}\r
+\r
+textures/e7/e7dimfloor_ow\r
+{\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       {\r
+               map textures/e7/e7dimfloor_ow\r
        }\r
+       {\r
+               map $lightmap\r
+               blendfunc GL_DST_COLOR GL_ZERO\r
+               rgbGen identity\r
+    }\r
+}\r
 \r
+textures/e7/e7dimfloor\r
+{\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       {\r
+               map textures/e7/e7dimfloor\r
+       }\r
+       {\r
+               map $lightmap\r
+               blendfunc GL_DST_COLOR GL_ZERO\r
+               rgbGen identity\r
+    }\r
+}\r
+\r
+textures/e7/e7grate01\r
+{\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       surfaceparm metalsteps\r
+       {\r
+               map textures/e7/e7grate01\r
+       }\r
+       {\r
+               map $lightmap\r
+               blendfunc GL_DST_COLOR GL_ZERO\r
+               rgbGen identity\r
+    }\r
 }\r
 \r
 textures/e7/e7mlight\r
 {\r
-       qer_editorimage textures/e7/e7mlight.tga\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       qer_editorimage textures/e7/e7mlight\r
+       surfaceparm metalsteps\r
        surfaceparm nomarks\r
        q3map_surfacelight 1500\r
        {\r
@@ -41,11 +158,77 @@ textures/e7/e7mlight
        }\r
 }\r
 \r
-//small light\r
+textures/e7/e7plate01\r
+{\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       surfaceparm metalsteps\r
+       {\r
+               map textures/e7/e7plate01\r
+       }\r
+       {\r
+               map $lightmap\r
+               blendfunc GL_DST_COLOR GL_ZERO\r
+               rgbGen identity\r
+    }\r
+}\r
+\r
+textures/e7/e7sbrickfloor_ow\r
+{\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       {\r
+               map textures/e7/e7sbrickfloor_ow\r
+       }\r
+       {\r
+               map $lightmap\r
+               blendfunc GL_DST_COLOR GL_ZERO\r
+               rgbGen identity\r
+    }\r
+}\r
+\r
+textures/e7/e7sbrickfloor_ow\r
+{\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       {\r
+               map textures/e7/e7sbrickfloor_ow\r
+       }\r
+       {\r
+               map $lightmap\r
+               blendfunc GL_DST_COLOR GL_ZERO\r
+               rgbGen identity\r
+    }\r
+}\r
+\r
+textures/e7/e7sbrickfloor\r
+{\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       {\r
+               map textures/e7/e7sbrickfloor\r
+       }\r
+       {\r
+               map $lightmap\r
+               blendfunc GL_DST_COLOR GL_ZERO\r
+               rgbGen identity\r
+    }\r
+}\r
+\r
+textures/e7/e7sbrickfloorbig\r
+{\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       {\r
+               map textures/e7/e7sbrickfloorbig\r
+       }\r
+       {\r
+               map $lightmap\r
+               blendfunc GL_DST_COLOR GL_ZERO\r
+               rgbGen identity\r
+    }\r
+}\r
 \r
 textures/e7/e7slight\r
 {\r
-       qer_editorimage textures/e7/e7slight.tga\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       qer_editorimage textures/e7/e7slight\r
+       surfaceparm metalsteps\r
        surfaceparm nomarks\r
        q3map_surfacelight 2500\r
        {\r
@@ -60,10 +243,105 @@ textures/e7/e7slight
        }\r
 }\r
 \r
+textures/e7/e7smgrate\r
+{\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       qer_editorimage textures/e7/e7smgrate.tga\r
+       surfaceparm alphashadow\r
+       surfaceparm metalsteps\r
+       //surfaceparm trans\r
+       cull disable\r
+       nopicmip\r
+       {\r
+               map textures/e7/e7smgrate.tga\r
+               rgbGen identity\r
+               depthWrite\r
+               alphaFunc GE128\r
+       }\r
+       {\r
+               map $lightmap\r
+               blendfunc filter\r
+               rgbGen identity\r
+               tcGen lightmap\r
+               depthFunc equal\r
+       }\r
+}\r
+\r
+textures/e7/e7stepborder\r
+{\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       surfaceparm metalsteps\r
+       {\r
+               map textures/e7/e7stepborder\r
+       }\r
+       {\r
+               map $lightmap\r
+               blendfunc GL_DST_COLOR GL_ZERO\r
+               rgbGen identity\r
+    }\r
+}\r
+\r
+textures/e7/e7stepborder2\r
+{\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       surfaceparm metalsteps\r
+       {\r
+               map textures/e7/e7stepborder2\r
+       }\r
+       {\r
+               map $lightmap\r
+               blendfunc GL_DST_COLOR GL_ZERO\r
+               rgbGen identity\r
+    }\r
+}\r
+\r
+textures/e7/e7steptop\r
+{\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       surfaceparm metalsteps\r
+       {\r
+               map textures/e7/e7steptop\r
+       }\r
+       {\r
+               map $lightmap\r
+               blendfunc GL_DST_COLOR GL_ZERO\r
+               rgbGen identity\r
+    }\r
+}\r
+\r
+textures/e7/e7steptop2\r
+{\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       {\r
+               map textures/e7/e7steptop2\r
+       }\r
+       {\r
+               map $lightmap\r
+               blendfunc GL_DST_COLOR GL_ZERO\r
+               rgbGen identity\r
+    }\r
+}\r
+\r
+textures/e7/e7trim01\r
+{\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       surfaceparm metalsteps\r
+       {\r
+               map textures/e7/e7trim01\r
+       }\r
+       {\r
+               map $lightmap\r
+               blendfunc GL_DST_COLOR GL_ZERO\r
+               rgbGen identity\r
+    }\r
+}\r
+\r
 textures/e7/e7trimlight\r
 {\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
        qer_editorimage textures/e7/e7trimlight.tga\r
        surfaceparm nomarks\r
+       surfaceparm metalsteps\r
        q3map_surfacelight 700\r
        {\r
                map $lightmap\r
@@ -77,10 +355,9 @@ textures/e7/e7trimlight
        }\r
 }\r
 \r
-//evilgrate\r
-\r
 textures/e7/e7wgrate\r
 {\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
        qer_editorimage textures/e7/e7wgrate.tga\r
        surfaceparm alphashadow\r
        surfaceparm nomarks\r
@@ -103,7 +380,39 @@ textures/e7/e7wgrate
        }\r
 }\r
 \r
-// evil lava - sorta looks bad ingame - imho\r
+textures/e7/e7wgrate\r
+{\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       surfaceparm metalsteps\r
+       {\r
+               map textures/e7/e7wgrate\r
+       }\r
+       {\r
+               map $lightmap\r
+               blendfunc GL_DST_COLOR GL_ZERO\r
+               rgbGen identity\r
+    }\r
+}\r
+\r
+textures/e7/e7brickfloor01jump\r
+{\r
+       qer_editorimage textures/e7/e7brickfloor01jump.tga\r
+       q3map_lightimage textures/e7/e7brickfloor01jump_glow.tga\r
+       surfaceparm nomarks\r
+       q3map_surfacelight 400\r
+       \r
+       {\r
+               map textures/e7/e7brickfloor01jump\r
+               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\r
+       }\r
+       {\r
+               map $lightmap\r
+               blendfunc filter\r
+               rgbGen identity\r
+               tcGen lightmap\r
+       }\r
+\r
+}\r
 \r
 textures/e7/e7sfx_lava\r
 {\r
@@ -124,8 +433,6 @@ textures/e7/e7sfx_lava
        }\r
 }\r
 \r
-//evil sky of impending doom :P\r
-\r
 textures/e7/e7evilsky_1\r
 {\r
        qer_editorimage textures/e7/e7evilsky_1.tga\r
@@ -177,8 +484,6 @@ textures/e7/e7rain
        }\r
 }\r
 \r
-//dark redish sky\r
-\r
 textures/e7/e7sky_01\r
 {\r
        qer_editorimage textures/e7/e7sky_01.tga\r
@@ -202,8 +507,6 @@ textures/e7/e7sky_01
        }\r
 }\r
 \r
-//jump pad 2\r
-\r
 textures/e7/e7sbrickfloor_jump\r
 {\r
        qer_editorimage textures/e7/e7sbrickfloor_jump.tga\r
@@ -223,28 +526,3 @@ textures/e7/e7sbrickfloor_jump
        }\r
 \r
 }\r
-\r
-//small grate\r
-\r
-textures/e7/e7smgrate\r
-{\r
-       qer_editorimage textures/e7/e7smgrate.tga\r
-       surfaceparm alphashadow\r
-       surfaceparm metalsteps\r
-       //surfaceparm trans\r
-       cull disable\r
-       nopicmip\r
-       {\r
-               map textures/e7/e7smgrate.tga\r
-               rgbGen identity\r
-               depthWrite\r
-               alphaFunc GE128\r
-       }\r
-       {\r
-               map $lightmap\r
-               blendfunc filter\r
-               rgbGen identity\r
-               tcGen lightmap\r
-               depthFunc equal\r
-       }\r
-}\r
index 9cd5c551bdb03e66284def15cb04cde6f1a9cde7..77a79d10809a0222cdd15a8ac5c737efb68c6e62 100644 (file)
@@ -1,3 +1,199 @@
+textures/e8/e8_launchpad1\r
+{\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       surfaceparm metalsteps\r
+       {\r
+               map textures/e8/e8_launchpad1\r
+       }\r
+       {\r
+               map $lightmap\r
+               blendfunc GL_DST_COLOR GL_ZERO\r
+               rgbGen identity\r
+    }\r
+}\r
+\r
+textures/e8/e8bolttrim\r
+{\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       surfaceparm metalsteps\r
+       {\r
+               map textures/e8/e8bolttrim\r
+       }\r
+       {\r
+               map $lightmap\r
+               blendfunc GL_DST_COLOR GL_ZERO\r
+               rgbGen identity\r
+    }\r
+}\r
+\r
+textures/e8/e8clangfloor05\r
+{\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       surfaceparm metalsteps\r
+       {\r
+               map textures/e8/e8clangfloor05\r
+       }\r
+       {\r
+               map $lightmap\r
+               blendfunc GL_DST_COLOR GL_ZERO\r
+               rgbGen identity\r
+    }\r
+}\r
+\r
+textures/e8/e8lighttrim_b\r
+{\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       surfaceparm metalsteps\r
+       {\r
+               map textures/e8/e8lighttrim_b\r
+       }\r
+       {\r
+               map $lightmap\r
+               blendfunc GL_DST_COLOR GL_ZERO\r
+               rgbGen identity\r
+    }\r
+}\r
+\r
+textures/e8/e8lighttrim\r
+{\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       surfaceparm metalsteps\r
+       {\r
+               map textures/e8/e8lighttrim\r
+       }\r
+       {\r
+               map $lightmap\r
+               blendfunc GL_DST_COLOR GL_ZERO\r
+               rgbGen identity\r
+    }\r
+}\r
+\r
+textures/e8/e8mtltrim1b\r
+{\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       surfaceparm metalsteps\r
+       {\r
+               map textures/e8/e8mtltrim1b\r
+       }\r
+       {\r
+               map $lightmap\r
+               blendfunc GL_DST_COLOR GL_ZERO\r
+               rgbGen identity\r
+    }\r
+}\r
+\r
+textures/e8/e8rail2\r
+{\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       surfaceparm metalsteps\r
+       {\r
+               map textures/e8/e8rail2\r
+       }\r
+       {\r
+               map $lightmap\r
+               blendfunc GL_DST_COLOR GL_ZERO\r
+               rgbGen identity\r
+    }\r
+}\r
+\r
+textures/e8/e8tinylightblue\r
+{\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       surfaceparm metalsteps\r
+       {\r
+               map textures/e8/e8tinylightblue\r
+       }\r
+       {\r
+               map $lightmap\r
+               blendfunc GL_DST_COLOR GL_ZERO\r
+               rgbGen identity\r
+    }\r
+}\r
+\r
+textures/e8/e8trimlight\r
+{\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       surfaceparm metalsteps\r
+       {\r
+               map textures/e8/e8trimlight\r
+       }\r
+       {\r
+               map $lightmap\r
+               blendfunc GL_DST_COLOR GL_ZERO\r
+               rgbGen identity\r
+    }\r
+}\r
+\r
+textures/e8/e8trimlight2\r
+{\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       surfaceparm metalsteps\r
+       {\r
+               map textures/e8/e8trimlight2\r
+       }\r
+       {\r
+               map $lightmap\r
+               blendfunc GL_DST_COLOR GL_ZERO\r
+               rgbGen identity\r
+    }\r
+}\r
+\r
+textures/e8/e8warning2\r
+{\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       surfaceparm metalsteps\r
+       {\r
+               map textures/e8/e8warning2\r
+       }\r
+       {\r
+               map $lightmap\r
+               blendfunc GL_DST_COLOR GL_ZERO\r
+               rgbGen identity\r
+    }\r
+}\r
+\r
+textures/e8/e8xgirder\r
+{\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       surfaceparm metalsteps\r
+       {\r
+               map textures/e8/e8xgirder\r
+       }\r
+       {\r
+               map $lightmap\r
+               blendfunc GL_DST_COLOR GL_ZERO\r
+               rgbGen identity\r
+    }\r
+}\r
+\r
+textures/e8/e8xgirder_small\r
+{\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       surfaceparm metalsteps\r
+       {\r
+               map textures/e8/e8xgirder_small\r
+       }\r
+       {\r
+               map $lightmap\r
+               blendfunc GL_DST_COLOR GL_ZERO\r
+               rgbGen identity\r
+    }\r
+}\r
+\r
+textures/e8/e8xgirder_small2\r
+{\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       surfaceparm metalsteps\r
+       {\r
+               map textures/e8/e8xgirder_small2\r
+       }\r
+       {\r
+               map $lightmap\r
+               blendfunc GL_DST_COLOR GL_ZERO\r
+               rgbGen identity\r
+    }\r
+}\r
+\r
 textures/e8/e8jumpspawn02b\r
 {\r
        dpreflectcube cubemaps/exomorph/exomorph\r