q3rally/baseq3r/scripts/base_door.shader

97 lines
1.5 KiB
GLSL

textures/base_door/shinymetaldoor
{
{
//map $lightmap
map textures/base_wall/chrome_env.tga
tcGen environment
tcmod scale .25 .25
rgbGen identity
}
{
map textures/base_door/shinymetaldoor.tga
blendFunc GL_ONE_MINUS_SRC_ALPHA GL_SRC_ALPHA
rgbGen identity
}
{
map textures/base_door/quake3sign.tga
blendFunc GL_ONE_MINUS_SRC_ALPHA GL_SRC_ALPHA
rgbGen identity
}
{
map $lightmap
rgbgen identity
blendFunc GL_DST_COLOR GL_ZERO
}
}
textures/base_door/shinymetaldoor_outside
{
{
map textures/base_wall/chrome_env.tga
tcGen environment
tcmod scale .25 .25
rgbGen identity
}
{
map textures/base_door/shinymetaldoor_outside.tga
blendFunc GL_ONE_MINUS_SRC_ALPHA GL_SRC_ALPHA
rgbGen identity
}
{
map textures/base_door/quake3sign_outside.tga
blendFunc GL_ONE_MINUS_SRC_ALPHA GL_SRC_ALPHA
rgbGen identity
}
{
map $lightmap
rgbgen identity
blendFunc GL_DST_COLOR GL_ZERO
}
}
textures/base_door/shinymetaldoor_outside3a2
{
{
map textures/base_wall/chrome_env.tga
tcGen environment
tcmod scale .25 .25
rgbGen identity
}
{
map textures/base_door/shinymetaldoor_outside3a2.tga
blendFunc blend
rgbGen identity
}
{
map $lightmap
rgbgen identity
blendFunc filter
}
{
map textures/base_door/shinymetaldoor_outside3glow.tga
blendFunc add
rgbGen wave sin .9 .1 0 5
}
}