I’m using this one for my own foliage:
models/workmap_foliage/w_grass_foliage1
{
nopicmip
qer_alphafunc greater 0.5
cull disable
distanceCull 0 0 0.49
sort seethrough
surfaceparm pointlight
surfaceparm trans
surfaceparm nomarks
nopicmip
deformVertexes wave 15 sin 0 1 0 0.25
{
map models/foliage/grassfoliage1.tga
alphaFunc GE128
rgbGen exactVertex
alphaGen vertex
}
}
textures/temperate_workmap/base
{
nopicmips
q3map_lightmapaxis z
q3map_lightmapmergable
q3map_nonplanar
q3map_shadeangle 155
q3map_forcemeta
q3map_tcGen ivector ( 64 0 0 ) ( 0 64 0 )
}
textures/temperate_workmap/grass1_grass2
{
q3map_baseshader textures/temperate_workmap/base
qer_editorimage textures/temperate_sd/grass_path1.tga
q3map_foliage models/workmap_foliage/w_grass_foliage1.mdc 0.6 48 0.08 2
surfaceparm landmine
surfaceparm grasssteps
{
map textures/temperate_sd/grass_path1.tga
rgbgen identity
}
{
lightmap $lightmap
blendFunc GL_DST_COLOR GL_ZERO
rgbgen identity
}
}
I’m getting this kind of result:
It’s not a nextgen one, but it’s ok for me.
So maybe you can try to adapt it to your needs.