The only thing I want to know is, what must I add to my custom shader for this texture, to let the black color disappear in the game? So you can look through it you know.
Thank you,
Moderator: Moderators
Code: Select all
textures/mytextures/mytexture
{
cull none // if you want it two-sided
qer_editorimage textures/mytextures/mytexture.tga
surfaceparm wood
{
map textures/mytextures/mytexture.tga
blendfunc blend
alphafunc GT0
depthwrite
}
{
map $lightmap
blendfunc filter
depthfunc equal
}
}
Code: Select all
textures/gefangenschaft/wall_concrete_pattern2
{
qer_keyword stone
qer_keyword wall
surfaceparm stone
{
map textures/gefangenschaft/wall_concrete_pattern2.jpg
depthWrite
rgbGen identity
}
{
map $lightmap
rgbGen identity
blendFunc GL_DST_COLOR GL_ZERO
depthFunc equal
}
}
textures/gefangenschaft/floor_bunker_pattern1
{
//Origin - ?
qer_keyword stone
qer_keyword floor
surfaceparm stone
{
map textures/gefangenschaft/floor_bunker_pattern1.jpg
depthWrite
rgbGen identity
}
{
map $lightmap
rgbGen identity
blendFunc GL_DST_COLOR GL_ZERO
depthFunc equal
}
}
textures/gefangenschaft/wall_plaster_pattern6
{
qer_keyword stone
qer_keyword wall
surfaceparm stone
{
map textures/gefangenschaft/wall_plaster_pattern6.jpg
depthWrite
rgbGen identity
}
{
map $lightmap
rgbGen identity
blendFunc GL_DST_COLOR GL_ZERO
depthFunc equal
}
}