Falling leaves shader - by IndyJones

This shader requires a target_smoke entity with the following keys set: 

target -> target_smoke:
"delay" "5000"
"angle" "135"
"shader" "textures/mp_castle/cherry1"
"spawnflags" "12"
"end_size" "10000"
"start_size" "500"
"wait" "75"
"origin" "915 853 1552"
"classname" "target_smoke"


The cherry1 shader is using deformVertexes for the movement:

textures/mp_castle/cherry1
{
	qer_trans 0.85
	polygonOffset
	surfaceparm pointlight
	surfaceparm nonsolid
	implicitBlend -
	implicitMask textures/mp_castle/cherry1.tga
	sort 6
	cull disable
	nopicmip
	deformVertexes wave 30 sin 0 1 0 0.2
	{
	tcmod rotate 30
	}
}