Sand problem


(Gremlin) #1

Hello,
I generate errain with Easygen, added sanfy texture, but a shader file was not so good, so I fixed it a bit:

textures/a/terrain_base
{
nopicmips
q3map_lightmapaxis z
q3map_lightmapmergable
q3map_tcGen ivector ( 512 0 0 ) ( 0 512 0 )
}

textures/a/terrain_0
{
q3map_baseshader textures/a/terrain_base
qer_editorimage textures/a/sand_disturb_desert.tga
surfaceparm landmine
surfaceparm gravelsteps <----- MY CHANGE
{
map textures/a/sand_disturb_desert.tga
tcmod scale 0.036 0.036 <-- MY CHANGE
}
{
map $lightmap
blendFunc GL_DST_COLOR GL_ZERO
}
}

now the scale is ok in the map, but I still hear like I’m walking on the floor and not on the sand and can’t plant landmines.
(maybe my templates not so good?)

thank you very much for the future help!


(Drakir) #2

Add thename of the .shader file to the shaderlist.txt so that its compiled with the map.


(Gremlin) #3

Yep, I already did it and it worked :slight_smile:

thanx anyway! :clap: