PDA

View Full Version : ARGH! Shader help plz!


LordP
12-09-2002, 05:56 PM
Well I'm making a shader like snow, and when I put it into my map and go into jk2mp and fire her up, I get the message, Warning: Shader XXX has lightmap but no lightmap stage. Well I'm not sure why I'm getting it since I have a surfaceparm, but if you could help me out that would be great.

textures/meeting/flake1_1
{
qer_editorimage textures/meeting/flake.tga
surfaceparm noimpact
surfaceparm nolightmap
cull none
surfaceparm trans
surfaceparm nonsolid
surfaceparm nodlight
deformvertexes autosprite
deformvertexes move 0.000043 0.000000 -494.244476 sawtooth 0 1 0.000000 0.129033
{
clampmap textures/meeting/flake.tga
tcMod rotate 0.000000
AlphaGen wave sawtooth 0.000000 8.000000 0.000000 0.129033
rgbGen wave sawtooth 1.000000 0.000000 0.000000 0.129033
tcMod stretch sawtooth 1.000000 0.000000 0.000000 0.129033
blendfunc blend
{
map $lightmap
blendfunc filter
rgbgen identity
}
}