I have been trying for a week now to make a custom surface light shader.
I have noticed that surface light shaders such as textures/base_light/ceil_white5k from pak0.pak work just fine. However, when I try to make a surface light that follows the same patteren it just failes to emit light and only shows up as a regular, non-light emitting, texture.
For example here is the shader for textures/base_light/ceil_white5k:
textures/base_light/ceil_white5k as extracted from pak0.pak:
blendFunc GL_DST_COLOR GL_ZERO
blendfunc GL_ONE GL_ONE
Now if I even copy that one verbatim changing only the paths to the shader text and image files, all I get is a regular texture displayed on a non-light emitting brush.
Here's a screen shot from Wolfcam it does the same thing in ioquake of a brush covered with a copy of the above shader extracted from the pk0.pak given a different name and put into the base sripts and texture folders.
As you can see the texture shows up fine although there is an absence of any emitted light from the surface of the brush to illuminate the small room I have it in.
Any help would be appreciated.
BTW Wolfcam seems to lack or has misplaced the shaders for the machine gun muzzle flash and model blood splater when being hit. Anybody know what they are called?