Get rid of surfaceparm nodraw. This section:
Quote:
Originally posted by Arkon11
{
map textures/f0x0r/ss_grassjapan
surfaceSprites vertical 5 20 25 2000
ssVariance 1
ssWind 0.0
alphaFunc GE192
blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
depthWrite
rgbGen vertex
}
|
Is what maps a texture to the surface. (See the "map textures/..." line?) Try making yourself a jpeg that's all black and replacing the stage I highlighted with:
{
map textures/whatever/black
blendfunc add
}
Then you should be able to apply the shader to a brush and just get grass sprites sprouting from an invisible surface.