George Stukas

George Stukas

@georgestukas

Comic-maker, part-time map crafter, cheap-as-freelance model hexxer

Joined 31 May 2023
d2_coast_09
Badges
You Actually Tried
You Actually Tried
Have a post Featured by a community moderator or staff member
Stare At The Art
One Year
One Year
Time flies when you're browsing Half-Life memes
Follow
To combat an old Half-Life bug with cut-off dlights on overly scaled textures, I've introduced a radius multiplier for dynamic lights, so we can enable lighting on the neighbor surfaces as well.

This however has a problem by actually lighting up too many surfaces that do not receive any lighting, potentially hurting the performance.

... Until I found a fix for that in JoeQuake, which seems has been taken from FitzQuake, which attributes LadyHavoc, best known for DarkPlaces engine. It exactly checks whether the surfaces receive any lighting or not, which turned out to be perfect for my case here.

Attached comparison screenshots description: 
1) The demonstration of a bug. The texture of helicopter landing site on crossfire.bsp is stretched, which causes the dynamic light (Half-Life flashlight on the screenshot) to be cut off. For the purpose of demonstration, lit surfaces are marked with red color and the map lighting is toned down to better see flashlight.
2) With increased radius dynamic light lits the neighbor surfaces as well, giving more correct result.
3) This screenshot shows the crossfire bunker entrance, which has lesser amount of stretched textures, but with the increased radius it lits surfaces that don't get any light from the flashlight.
4) With enabled LadyHavoc's fix, only the surfaces that's lit by the flashlight get marked
To combat an old Half-Life bug with cut-off dlights on overly scaled textures, I've introduced a radius multiplier for dynamic lights, so we can enable lighting on the neighbor surfaces as well.

This however has a problem by actually lighting up too many surfaces that do not receive any lighting, potentially hurting the performance.

... Until I found a fix for that in JoeQuake, which seems has been taken from FitzQuake, which attributes LadyHavoc, best known for DarkPlaces engine. It exactly checks whether the surfaces receive any lighting or not, which turned out to be perfect for my case here.

Attached comparison screenshots description: 
1) The demonstration of a bug. The texture of helicopter landing site on crossfire.bsp is stretched, which causes the dynamic light (Half-Life flashlight on the screenshot) to be cut off. For the purpose of demonstration, lit surfaces are marked with red color and the map lighting is toned down to better see flashlight.
2) With increased radius dynamic light lits the neighbor surfaces as well, giving more correct result.
3) This screenshot shows the crossfire bunker entrance, which has lesser amount of stretched textures, but with the increased radius it lits surfaces that don't get any light from the flashlight.
4) With enabled LadyHavoc's fix, only the surfaces that's lit by the flashlight get marked
To combat an old Half-Life bug with cut-off dlights on overly scaled textures, I've introduced a radius multiplier for dynamic lights, so we can enable lighting on the neighbor surfaces as well.

This however has a problem by actually lighting up too many surfaces that do not receive any lighting, potentially hurting the performance.

... Until I found a fix for that in JoeQuake, which seems has been taken from FitzQuake, which attributes LadyHavoc, best known for DarkPlaces engine. It exactly checks whether the surfaces receive any lighting or not, which turned out to be perfect for my case here.

Attached comparison screenshots description: 
1) The demonstration of a bug. The texture of helicopter landing site on crossfire.bsp is stretched, which causes the dynamic light (Half-Life flashlight on the screenshot) to be cut off. For the purpose of demonstration, lit surfaces are marked with red color and the map lighting is toned down to better see flashlight.
2) With increased radius dynamic light lits the neighbor surfaces as well, giving more correct result.
3) This screenshot shows the crossfire bunker entrance, which has lesser amount of stretched textures, but with the increased radius it lits surfaces that don't get any light from the flashlight.
4) With enabled LadyHavoc's fix, only the surfaces that's lit by the flashlight get marked
To combat an old Half-Life bug with cut-off dlights on overly scaled textures, I've introduced a radius multiplier for dynamic lights, so we can enable lighting on the neighbor surfaces as well.

This however has a problem by actually lighting up too many surfaces that do not receive any lighting, potentially hurting the performance.

... Until I found a fix for that in JoeQuake, which seems has been taken from FitzQuake, which attributes LadyHavoc, best known for DarkPlaces engine. It exactly checks whether the surfaces receive any lighting or not, which turned out to be perfect for my case here.

Attached comparison screenshots description: 
1) The demonstration of a bug. The texture of helicopter landing site on crossfire.bsp is stretched, which causes the dynamic light (Half-Life flashlight on the screenshot) to be cut off. For the purpose of demonstration, lit surfaces are marked with red color and the map lighting is toned down to better see flashlight.
2) With increased radius dynamic light lits the neighbor surfaces as well, giving more correct result.
3) This screenshot shows the crossfire bunker entrance, which has lesser amount of stretched textures, but with the increased radius it lits surfaces that don't get any light from the flashlight.
4) With enabled LadyHavoc's fix, only the surfaces that's lit by the flashlight get marked

To combat an old Half-Life bug with cut-off dlights on overly scaled textures, I've introduced a radius multiplier for dynamic lights, so we can enable lighting on the neighbor surfaces as well. This however has a problem by actually lighting up too many surfaces that do not receive any lighting, potentially hurting the performance. ... Until I found a fix for that in JoeQuake, which seems has been taken from FitzQuake, which attributes LadyHavoc, best known for DarkPlaces engine. It exactly c…

barnpog3