$constantdirectionallight/en
Language subpage
This subpage is used on the $constantdirectionallight page to display content in English.
If you have edited the language subpage, do not forget to purge the base page by clicking on the button on the right. Otherwise, its contents will not be updated.
This article is an orphan, meaning that few or no articles link to it.
You can help by adding links to this article from other relevant articles.
January 2024
You can help by adding links to this article from other relevant articles.
January 2024
If set, constdirectionallightdot
is used to calculate light intensity rather than the normal directional dot product[Clarify]. Only valid if STUDIOHDR_FLAGS_STATIC_PROP
($staticprop
) is also set.
Tip:This command is useful for foliage models.
Syntax
$constantdirectionallight <scale>
Example
$modelname "props_foliage\hedge_256_128.mdl" $staticprop $body body "hedge_256_128.smd" $constantdirectionallight 0.15 $surfaceprop "wood_solid"