$constantdirectionallight: Difference between revisions
Jump to navigation
Jump to search

Tip:This command is useful for foliage models.
m (WisdomBot moved page $constantdirectionallight to $constantdirectionallight/en: Moved to {{Multipage}} compliant page name. This action was perfomed by a bot under supervision.) |
No edit summary |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{LanguageBar|title = <code>$constantdirectionallight</code>}} | ||
{{Orphan|date=January 2024}} | {{Orphan|date=January 2024}} | ||
{{This is a|name=$constantdirectionallight|QC command}} This parameter is used to calculate light intensity rather than the normal directional dot product{{clarify}}. Only valid if <code>STUDIOHDR_FLAGS_STATIC_PROP</code> (<code>[[$staticprop]]</code>) is also set. | |||
{{tip|This command is useful for foliage [[Model|models]].}} | {{tip|This command is useful for foliage [[Model|models]].}} | ||
Line 21: | Line 22: | ||
__NOTOC__ | __NOTOC__ | ||
[[Category:Modeling]] | |||
[[Category:Source]] |
Latest revision as of 21:26, 16 July 2025



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

January 2024
$constantdirectionallight
is a QC command available in all Source games. This parameter 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.

Syntax
$constantdirectionallight <scale>
Example
$modelname "props_foliage\hedge_256_128.mdl" $staticprop $body body "hedge_256_128.smd" $constantdirectionallight 0.15 $surfaceprop "wood_solid"