home *** CD-ROM | disk | FTP | other *** search
-
- // Mr Elusive's shaders
-
-
- //================
- // Elia Romanic
- //================
-
- textures/mre/mresky2
- {
- qer_editorimage textures/mre/mresky2.tga
- surfaceparm sky
- surfaceparm noimpact
- surfaceparm nolightmap
- skyparms env/mre - -
-
- q3map_surfacelight 120
- //sun angle is aproximately atan(1/2) coming from the south
- //light color is very light yellow
- q3map_sun 1 1 .9 600 270 27
- //backsplash lights don't make sense at all on the sky
- q3map_backsplash -1 0
- }
-
- textures/mre/mrebeam_align
- {
- surfaceparm trans
- surfaceparm nomarks
- surfaceparm nonsolid
- surfaceparm nolightmap
- // qer_trans .5
- cull none
- surfaceparm nomipmaps
- polygonOffset
- sort additive
- //nopicmip
- {
- map textures/mre/mrebeam.tga
- tcMod Scroll .3 0
- blendFunc add
- }
- }
-
- textures/mre/valeriaan
- {
- surfaceparm trans
- surfaceparm nomarks
- surfaceparm nonsolid
- surfaceparm nolightmap
- cull none
- surfaceparm nomipmaps
- {
- map textures/mre/valeriaan.tga
- blendFunc blend
- }
- }
-
-
- textures/mre/blocks19_lmps2
- {
- qer_editorimage textures/mre/blocks19_lmps2
- q3map_lightmapsamplesize 2
- {
- map $lightmap
- rgbGen identity
- }
- {
- map textures/gothic_block/blocks19.tga
- rgbGen identity
- blendFunc GL_DST_COLOR GL_ZERO
- }
- }
-
- textures/mre/blocks9_lmps4
- {
- qer_editorimage textures/mre/blocks9_lmps4
- q3map_lightmapsamplesize 4
- {
- map $lightmap
- rgbGen identity
- }
- {
- map textures/gothic_block/blocks9.tga
- rgbGen identity
- blendFunc GL_DST_COLOR GL_ZERO
- }
- }
-
- textures/mre/webs1
- {
- // deformVertexes wave 10 sin 0 2 0 .2
- surfaceparm trans
- surfaceparm nomarks
- surfaceparm nonsolid
- surfaceparm nolightmap
- cull none
- surfaceparm nomipmaps
- {
- map textures/mre/webs1.tga
- // blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
- blendFunc blend
- }
- }
-
- textures/mre/webs2
- {
- // deformVertexes wave 10 sin 0 2 0 .2
- surfaceparm trans
- surfaceparm nomarks
- surfaceparm nonsolid
- surfaceparm nolightmap
- cull none
- surfaceparm nomipmaps
- {
- map textures/mre/webs2.tga
- // blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
- blendFunc blend
- }
- }
-
- textures/mre/teleport
- {
- deformVertexes wave 20 sin 0 2 0 .1
- surfaceparm trans
- surfaceparm nomarks
- surfaceparm nonsolid
- surfaceparm nolightmap
- cull none
- surfaceparm nomipmaps
- {
- map textures/mre/teleport.tga
- tcMod scroll 0 -1
- blendFunc blend
- }
- }
-
- textures/mre/undercroftfog
- {
- qer_editorimage textures/mre/undercroftfog.tga
- qer_trans 0.60
- surfaceparm trans
- surfaceparm nonsolid
- surfaceparm fog
- surfaceparm nolightmap
- qer_nocarve
- fogparms ( .92 .54 .16 ) 1000
- //fogparms ( .85 .45 .01 ) 1000
- //fogparms ( 0.7 0.6 0.4 ) 3000
- }
-
- textures/mre/blocks19_tracelight
- {
- qer_editorimage textures/mre/blocks19_tracelight
- q3map_tracelight
- {
- map $lightmap
- rgbGen identity
- }
- {
- map textures/gothic_block/blocks19.tga
- rgbGen identity
- blendFunc GL_DST_COLOR GL_ZERO
- }
- }
-
- textures/mre/blood1
- {
- qer_editorimage textures/mre/blood1.tga
- polygonOffset
- surfaceparm nomarks
- surfaceparm trans
- surfaceparm nonsolid
- //nomipmaps
- surfaceparm pointlight
- entityMergable
- {
- map textures/mre/blood1.tga
- blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
- rgbGen vertex
- alphaGen vertex
- }
- }
-
- textures/mre/blood2
- {
- qer_editorimage textures/mre/blood2.tga
- polygonOffset
- surfaceparm nomarks
- surfaceparm trans
- surfaceparm nonsolid
- //nomipmaps
- surfaceparm pointlight
- entityMergable
- {
- map textures/mre/blood2.tga
- blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
- rgbGen vertex
- alphaGen vertex
- }
- }
-
- textures/mre/blocks9_trans
- {
- qer_editorimage textures/gothic_block/blocks9.tga
- surfaceparm nonsolid
- {
- map $lightmap
- rgbGen identity
- }
- {
- map textures/gothic_block/blocks9.tga
- rgbGen identity
- blendFunc GL_DST_COLOR GL_ZERO
- }
- }
-
- textures/mre/windowarch
- {
- qer_editorimage textures/mre/windowarch.tga
- polygonOffset
- surfaceparm trans
- surfaceparm nomarks
- surfaceparm nonsolid
- //nomipmaps
- entityMergable
- surfaceparm pointlight
- q3map_vertexshadows //cast shadows at this surface
- q3map_notjunc //don't use this surface for tjunction fixing
- sort banner
- {
- map textures/mre/windowarch.tga
- //blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
- blendFunc blend
- //rgbGen vertex
- //alphaGen vertex
- }
- // {
- // map $lightmap
- // rgbGen identity
- // blendfunc GL_DST_COLOR GL_ZERO
- // }
- }
-
-
- //==================
- // test stuff
- //==================
-
- textures/mre/mresky
- {
- qer_editorimage textures/mre/mresky.tga
- surfaceparm sky
- surfaceparm noimpact
- surfaceparm nolightmap
- skyparms - 512 -
-
- q3map_surfacelight 400
- q3map_backsplash -1 0
- // q3map_sun 1 1 1 600 270 30
- // cloudparms 512 full
-
- {
- map textures/mre/skybluesky.tga
- tcMod scroll 0.01 0
- tcMod scale 2 2
- }
-
-
- {
- map textures/mre/cloud1a.tga
- blendfunc GL_ONE GL_ONE
- tcMod scroll 0.002 0.005
- tcMod scale 2 2
- }
-
- // {
- // map textures/mre/gmist2.tga
- // alphaFunc GT0
- // blendfunc GL_ONE GL_ONE
- // blendfunc GL_DST_COLOR GL_ONE
- // tcMod scroll 0.01 0.02
- // tcMod scale 2 2
- // }
-
-
- }
-
- textures/mre/mresunlight
- {
- qer_editorimage textures/mre/mresunlight.tga
- surfaceparm sky
- surfaceparm noimpact
- surfaceparm nolightmap
- skyparms env/mre - -
- // q3map_surfacelight 1000
- // q3map_lightimage textures/mre/whitelight.tga
-
- // qer_editorimage textures/mre/mresunlight.tga
- // surfaceparm noimpact
- // surfaceparm nolightmap
- // surfaceparm nonsolid
- // qer_trans .5
- // q3map_surfacelight 500
- // {
- // map $whiteimage
- // blendFunc GL_ONE GL_ZERO
- // }
- }
-
- textures/mre/mresky3
- {
- qer_editorimage textures/mre/mresky3.tga
- surfaceparm sky
- surfaceparm noimpact
- surfaceparm nolightmap
- skyparms - 512 -
- q3map_sun 1 1 1 600 180 55
- {
- map textures/mre/skybluesky.tga
- tcMod scroll 0.01 0
- tcMod scale 2 2
- }
-
-
- {
- map textures/mre/cloud1a.tga
- blendfunc GL_ONE GL_ONE
- tcMod scroll 0.002 0.005
- tcMod scale 2 2
- }
- }
-
- textures/mre/st_glass01
- {
- surfaceparm trans
- surfaceparm alphashadow
- // surfaceparm nolightmap
- cull none
- surfaceparm nomipmaps
- {
- map textures/mre/st_glass01.tga
- blendFunc blend
- }
- }
-
- textures/mre/stainedglass
- {
- surfaceparm trans
- surfaceparm alphashadow
- // surfaceparm nolightmap
- cull none
- surfaceparm nomipmaps
- {
- map textures/mre/stainedglass.tga
- blendFunc add
- }
- }
-
- textures/mre/stainedglass2
- {
- surfaceparm trans
- surfaceparm alphashadow
- // surfaceparm nolightmap
- cull none
- surfaceparm nomipmaps
- {
- map textures/mre/stainedglass2.tga
- blendFunc blend
- }
- }
-
- textures/mre/stainedglass3
- {
- surfaceparm trans
- surfaceparm alphashadow
- // surfaceparm nolightmap
- cull none
- surfaceparm nomipmaps
- {
- map textures/mre/stainedglass3.tga
- blendFunc blend
- }
- }
-
- textures/mre/blocks11b_trans
- {
- qer_editorimage textures/gothic_block/blocks11b.tga
- surfaceparm nonsolid
- {
- map $lightmap
- rgbGen identity
-
- }
- {
- map textures/gothic_block/blocks11b.tga
- rgbGen identity
- blendFunc GL_DST_COLOR GL_ZERO
- }
- }
-
- textures/mre/mrearealight
- {
- qer_editorimage textures/mre/mrearealight.tga
- q3map_surfacelight 100
- //light 1
- q3map_lightimage $whiteimage
- //q3map_lightsubdivide
- //surfaceparm nomarks
- {
- map $lightmap
- rgbGen identity
- }
- {
- map textures/gothic_light/gothic_light3.tga
- blendFunc GL_DST_COLOR GL_ZERO
- rgbGen identity
- }
- }