From 59f79a48c51a12811d2985cb0ea45f5c7ac48587 Mon Sep 17 00:00:00 2001 From: Blixibon Date: Mon, 26 Aug 2019 21:57:16 -0500 Subject: [PATCH] Updated Projected textures (markdown) --- Projected-textures.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Projected-textures.md b/Projected-textures.md index 63b4b8e..a6ab3e1 100644 --- a/Projected-textures.md +++ b/Projected-textures.md @@ -12,14 +12,16 @@ Most of the work involved is based off of the Alien Swarm SDK, meaning env_proje ## Shader changes -Mapbase uses shader code from the aforementioned projects, including Alien Swarm, G-String, City 17: Episode One, etc. The shader changes alone fix most of the bugs the VDC fixes couldn't fix, including the "reverse projection" bug and the bug with decals not receiving casted shadows. It also adds a "reflection" on brush surfaces and changes the way projected textures fade out, among other things. +Mapbase uses shader code from the aforementioned projects, including Alien Swarm, G-String, City 17: Episode One, etc. The shader changes alone fix most of the bugs the VDC fixes couldn't fix, including the "reverse projection" bug and the bug with decals not receiving casted shadows. + +The changes also fix a long-standing bug with Source 2013 projected textures that calculates the attenuation with the player's view, rather than the light's origin. This is very noticeable in the comparison pictures.

The projected textures in the following pictures have had their brightness scaled by 5 to make them more visible.

- +

- +

---