Added $treeSway

Blixibon 2020-06-23 09:31:59 -05:00
parent c84e75b9a0
commit de13cd556b

@ -42,6 +42,12 @@ Fun fact: This was originally implemented by accident.
Todo: up-to-date image, maybe unique article for both "Shader changes" and this to link to (or even merge this and shader changes)
"Brush phong" is phong reflections on brush shaders, like `LightmappedGeneric` (or in this case `SDK_LightmappedGeneric)`. It reflects the flashlight beautifully and supports exponent masking.
"Brush phong" is phong reflections on brush shaders, like `SDK_LightmappedGeneric`. It reflects the flashlight beautifully and supports exponent masking.
<strong style="margin-left:1em; color:#D31B1B; white-space:nowrap;"><img src="https://developer.valvesoftware.com/w/images/c/cb/Warning.png"/> Warning:&nbsp;</strong> Brush phong requires materials to use custom shaders. See [Shader changes](Shader-changes) for more information.
<strong style="margin-left:1em; color:#D31B1B; white-space:nowrap;"><img src="https://developer.valvesoftware.com/w/images/c/cb/Warning.png"/> Warning:&nbsp;</strong> Brush phong requires materials to use custom shaders. See [Shader changes](Shader-changes) for more information.
### Tree sway
---
Mapbase adds support for `$treeSway`, based on HL2: Downfall's implementation from the Alien Swarm SDK. It allows trees to "sway" with the wind. Some existing tree models have been given additional skins which use `$treeSway`.
<strong style="margin-left:1em; color:#D31B1B; white-space:nowrap;"><img src="https://developer.valvesoftware.com/w/images/c/cb/Warning.png"/> Warning:&nbsp;</strong> Tree sway requires materials to use custom shaders. See [Shader changes](Shader-changes) for more information.