mirror of
https://github.com/mapbase-source/source-sdk-2013.git
synced 2025-03-13 22:20:22 +03:00
Updated Projected textures (markdown)
parent
b8e6038779
commit
59f79a48c5
@ -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.
|
||||
|
||||
<p align="center"><i>The projected textures in the following pictures have had their brightness scaled by 5 to make them more visible.</i></p>
|
||||
<p align="center">
|
||||
<img src="https://i.imgur.com/eI3RZs0.png" width="768"/>
|
||||
<img src="https://i.imgur.com/JQfp7DN.png" width="768"/>
|
||||
</p>
|
||||
<p align="center">
|
||||
<img src="https://i.imgur.com/lR5nK2c.png" width="768"/>
|
||||
<img src="https://i.imgur.com/swyPU3U.png" width="768"/>
|
||||
</p>
|
||||
|
||||
---
|
||||
|
Loading…
x
Reference in New Issue
Block a user