1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93
|
// Original shader created by Yves Allaire,
// for Evil's Texture Set 3.
// [+] http://www.planetquake.com/hfx/
// Cleaned up and fixed by Gary Burgess.
// [+] http://www.inaeo.co.uk/cnd/
//NOTE FROM Yves: Please edit this .shader all you want, there might have some problems...
//--------------------------------------------
//------------------------------------------
textures/evil_floors/t-flr_oddtile_drty
{
{
map textures/evil_floors/t-flr_oddtile_drty_glow.tga
tcMod turb 1 1 1 1
tcmod scale 2 1
tcmod scroll 1 2
blendFunc GL_ONE GL_ZERO
rgbGen identity
}
{
map textures/evil_floors/t-flr_oddtile_drty.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/evil_floors/grtmtl_offt
{
surfaceparm metalsteps
surfaceparm alphashadow
surfaceparm trans
surfaceparm nonsolid
cull none
{
map textures/evil_floors/grtmtl_offt.tga
alphaFunc GE128
depthWrite
rgbGen identity
}
{
map $lightmap
rgbGen identity
blendFunc filter
depthFunc equal
}
}
//----------------------------------------------
textures/evil_lights/rlight_a
{
qer_editorimage textures/evil_lights/rlight_a.tga
surfaceparm nomarks
q3map_surfacelight 1500
{
map $lightmap
rgbGen identity
}
{
map textures/evil_lights/rlight_a.tga
blendFunc GL_DST_COLOR GL_ZERO
rgbGen identity
}
}
//--------------------------------------------
textures/evil_misc/rstbouncefan
{
cull disable
surfaceparm trans
surfaceparm nolightmap
sort 5
{
clampmap textures/sfx/fan3bladeb.tga
blendFunc blend
tcmod rotate 999
rgbGen identity
}
{
map $lightmap
blendFunc GL_DST_COLOR GL_ONE_MINUS_DST_ALPHA
rgbGen identity
}
}
|