hey guys, I'm having difficulty with a shader i'm making for a projectile. Its normally transparent but whenever its behind a wall it shows up solid, when its not even supposed to show up. Also when you shoot it into the sky or onto a burn mark or something it doesn't even show up. Anyone know what's causing it? Here's the shader file.
d3
{
qer_editorimage gfx/menus/planets/cos28
cull twosided
{
map gfx/menus/planets/cos28
alphaFunc GE192
blendFunc GL_ONE GL_ZERO
depthFunc disable
glow
rgbGen identity
tcGen base
tcMod entityTranslate
}
}