From f58afe49c0e171cffdee43de52c7fa9be0116458 Mon Sep 17 00:00:00 2001 From: Blixibon Date: Mon, 7 Dec 2020 10:45:34 -0600 Subject: [PATCH] Updated Graphical Changes (markdown) --- Graphical-Changes.md | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/Graphical-Changes.md b/Graphical-Changes.md index 5e0bd4a..2592f62 100644 --- a/Graphical-Changes.md +++ b/Graphical-Changes.md @@ -18,7 +18,7 @@ Despite the strict criteria for including these kinds of changes, Mapbase has gr **Main article:** *[Projected textures](Projected-textures)* -Mapbase overhauls projected textures to function similarly to other games. To fix most of the issues with projected textures, Mapbase uses shader code originating from the Alien Swarm SDK and certain open-source repositories. See the main article for more information. +Mapbase overhauls projected textures to function similarly to other games. To fix most of the issues with projected textures, Mapbase uses shader code originating from the Alien Swarm SDK and certain snippets or open-source repositories. See the main article for more information. Warning:  Some of the changes require materials to use custom shaders. See [Shader changes](Shader-changes) for more information. @@ -28,8 +28,13 @@ Mapbase overhauls projected textures to function similarly to other games. To fi

+

+ +

-Mapbase uses radial fog, a fog calculation method which draws fog radially and doesn't change as you rotate the camera, unlike planar fog. It was introduced in Left 4 Dead and has been used in all Valve games ever since. Mapbase used Half-Life 2: Downfall's repo as a guide for porting the involved shader code from the Alien Swarm SDK. +Mapbase uses radial fog, a fog calculation method which draws fog radially and doesn't change as you rotate the camera. Normally, Half-Life 2 still uses "planar" fog, which is calculated as a plane and changes as you rotate the camera. You could often see past it by rotating the camera and looking at the edge of your screen. + +Radial fog was introduced in Left 4 Dead and has been used in all Valve games ever since. Mapbase used Half-Life 2: Downfall's repo as a guide for porting the involved shader code from the Alien Swarm SDK. Warning:  Radial fog requires materials to use custom shaders. See [Shader changes](Shader-changes) for more information. @@ -49,7 +54,7 @@ Fun fact: This was originally implemented by accident.

-"Brush phong" is phong reflections on brush shaders, like `SDK_LightmappedGeneric`. It highlights regions of a face when lit by a projected texture. This effect originated from City 17: Episode One. +"Brush phong" is phong reflections on brush shaders, like `SDK_LightmappedGeneric`. It highlights regions of a face when lit by a projected texture. This effect originated from City 17: Episode One and you could find more information on [their ModDB page](https://www.moddb.com/mods/city-17-episode-1). Warning:  Brush phong requires materials to use custom shaders. See [Shader changes](Shader-changes) for more information.