shadow_control
< Ru
Jump to navigation
Jump to search

shadow_control
- это точечная энтити , доступно для всех игр на движке Source.

This page needs to be translated.
This page either contains information that is only partially or incorrectly translated, or there isn't a translation yet.
If this page cannot be translated for some reason, or is left untranslated for an extended period of time after this notice is posted, the page should be requested to be deleted.
Also, please make sure the article complies with the alternate languages guide.
This page either contains information that is only partially or incorrectly translated, or there isn't a translation yet.
If this page cannot be translated for some reason, or is left untranslated for an extended period of time after this notice is posted, the page should be requested to be deleted.
Also, please make sure the article complies with the alternate languages guide.
Он определяет направление, цвет и расстояние затухания Динамические тени , создаваемых light_environment для всей карты.





Ключи-параметры
См. также: Generic Keyvalues, Inputs and Outputs available to all entities
- Name (targetname) <объект источник >
- Имя энтити, по которому другие энтити могут ссылаться на этот объект.
- Shadow Color (color) <цвет КЗС >
- Это цвет теней.
- Maximum Distance (distance) <число с плавающей запятой >
- Это цвет теней.aЭто максимальное расстояние, на которое может отбрасываться тень, в дюймах.
Совет:Shortening this distance can be used to approximate the effects of diffuse lighting .
- All Shadows Disabled (disableallshadows) <булева переменная >
- Disable shadows entirely.
- Enable Local Light Shadows (enableshadowsfromlocallights) <булева переменная > (Во всех играх начиная с
) (также в
)
- Enable shadow direction to be calculated on a per-entity basis and to be dictated by the light closest to the entity.
Примечание:This keyvalue may not be available in some FGD s.
Код: Существует пользовательская версия этой функции, которая может работать на предыдущих версиях Source. Нажмите здесь для получения дополнительной информации.
Совет:Pitch is the sun's angle of elevation from the ground, and yaw is its compass bearing.
Входы
- color <цвет КЗС >
- Set the shadow color.
- direction <вектор >
- Set the shadow direction.
- SetDistance <число с плавающей запятой >
- Set the maximum shadow cast distance.
- SetAngles <строка >
- Set the shadow direction.
- SetShadowsDisabled <целое число >
- Set shadows disabled state.
- SetShadowsFromLocalLightsEnabled <целое число > (Во всех играх начиная с
) (также в
)
- Set local light shadows enabled state.
Примечание:This input may not be available in some FGD s.