Why doesnt my shader work?!!! :/


(nAb.Death) #1

I did a small edit of my map… compiled it, made a pk3 file again and my shader for grass doesnt work… i cant place landmines and i have no idea why…

This is it:

textures/temperate_sd/grass_dense1
{
	
	q3map_lightmapsamplesize 64
	q3map_lightmapaxis z
	q3map_texturesize 512 512
	q3map_tcGen ivector ( 128 0 0 ) ( 0 128 0 )
	surfaceparm grassteps
	surfaceparm landmine
		{
           map textures/temperate_sd/grass_dense1.tga 
	    }
		{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
		tcGen lightmap
	    }
}

I also tried this thing: I copied the grass_dense1.tga texture from temperate_sd, renamed it and placed it into my own map textures folder… Then i replaced the path in the shader, but it still doesnt work! I dont get it


(twt_thunder) #2

you have added the shadername into shaderlist.txt?


(nAb.Death) #3

yes i have

EDIT: i fixed it


(Teuthis) #4

Is it surfaceparm landmine or surfaceparm lindmines? I guess you have a spelling mistake in the shader. Do you hear the gras step sound when you walk over the texture?