ericwa / ericw-tools

Quake/Hexen 2 Map compiling tools - branch of http://disenchant.net/utils
http://ericwa.github.io/ericw-tools
GNU General Public License v2.0
344 stars 57 forks source link

Deviance (=Penumbra) doesn't work when using skylighting on a light entity #291

Open bstordeur opened 4 years ago

bstordeur commented 4 years ago

When using a light entity to do sky-lighting (rather than in the Worldspawn), it's impossible to use penumbra. "Deviance" which should translate to penumbra has a weird effect on lighting, making it super bright, instead of making the shadows softer.

Map with Sun settings in Worldspawn, with 20 Penumbra (rename to .map) : test_sundeviance_ws.txt

Map with Sun settings on a Light entity, with 20 deviance (rename to .map) : test_sundeviance_ent.txt

Paril commented 2 years ago

Potentially fixed in d1c3b56e1dd302bb73ebef6d23d67739af886835, needs more testing though