Updated Graphical Changes (markdown)

Blixibon 2020-07-03 00:12:24 -05:00
parent 9179800931
commit 28e7136cb1

@ -46,6 +46,16 @@ Todo: up-to-date image, maybe unique article for both "Shader changes" and this
<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.
### Parallax Corrected Cubemaps
---
<p align="center">
<img src="https://media.moddb.com/images/articles/1/276/275123/auto/mapbase_demo030123.jpg" width="768"/>
</p>
Mapbase adds parallax corrected cubemaps, a technique implemented by Brian Charles and popularized by [this video](https://www.youtube.com/watch?v=ZH6s1hbwoQQ). It was implemented in Mapbase via [this VDC article](https://developer.valvesoftware.com/wiki/Parallax_Corrected_Cubemaps). In order to use parallax corrected cubemaps, you must create a `parallax_obb` brush entity filling in the entire room. The brush must be a box. You then go to the `env_cubemap`s you wish to be parallax corrected and add your new `parallax_obb` entity to the "Cubemap Bounds" keyvalue.
<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> Parallax corrected cubemaps require materials to use custom shaders and also require the map to be compiled using Mapbase's VBSP. See [Shader changes](Shader-changes) and [Map Compilers](Map-Compilers) 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`.