but I run into one problem that I can't figure out why it happens. Dependant on the players vie angle, some decals in my map start to show z-fighting.
This usually only happens on axial walls and not on floors. Anyone has similar experience or in idea how to solve this?

Here is the shader:
textures/amt-fs5_decal/cretebase3_decal
{
qer_editorimage textures/amt-fs5_decal/cretebase3_decal.tga
qer_trans 1
surfaceparm trans
surfaceparm nomarks
surfaceparm nonsolid
polygonOffset
{
map textures/amt-fs5_base/cretebase3.tga
blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
rgbGen identity
}
{
map $lightmap
rgbGen identity
blendFunc filter
}
}