$treesway

You can upload screenshots at Special:Upload. For help, see Help:Images.
Template:Shaderparam It morphs a material around using the parameters of an env_wind entity to give the appearance of tree leaves and foilage blowing in the wind. The subparameters of $treesway determine how much the env_wind entity should affect the morphing, and all of them (except $treeswaystatic) must be specified in order for the effect to work properly. This shader parameter assumes any model using it is facing upwards.
 Note:This shader parameter is also available in
Note:This shader parameter is also available in  ,
,  , and
, and  . In
. In  , it can also be used for UnlitGeneric.
, it can also be used for UnlitGeneric. Bug:In
Bug:In  , using a projected texture on materials with this parameter will cause flickering. As a workaround, try to keep trees away from where player flashlights can reach. $halflambert may also partially fix the issue.  [todo tested in ?]
, using a projected texture on materials with this parameter will cause flickering. As a workaround, try to keep trees away from where player flashlights can reach. $halflambert may also partially fix the issue.  [todo tested in ?]- Todo: What about$singlepassflashlightand$flashlightnolambert?
Parameters
$treesway
$treeswayheight
$treeswaystartheight
$treeswayradius
$treeswaystartheight
$treeswayspeed
$treeswaystrength
$treeswayscrumblespeed
$treeswayscrumblestrength
$treeswayscrumblefrequency
$treeswayfalloffexp
$treeswayscrumblefalloffexp
$treeswayspeedhighwindmultipler
$treeswayspeedlerpstart
$treeswayspeedlerpend
$treeswaystatic
See Also
https://gamebanana.com/tuts/12924 - How to achieve a similar effect without $treeSway, on all source engine games
