PBR materials, lighting/reflections cut off

Bugs that have been investigated and resolved somehow.

Moderator: GZDoom Developers

Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
Post Reply
User avatar
mty
Posts: 46
Joined: Thu Mar 29, 2018 1:48 pm
Graphics Processor: nVidia with Vulkan support
Location: EU
Contact:

PBR materials, lighting/reflections cut off

Post by mty »

I noticed this in my map. Lights and reflections on pbr materials are sometimes cut off. So I built a small map to reproduce the issue. Well it's funnier than I had thought. But check out this video, which demonstrates the problem better than I coould describe.



And the demo map:
http://www.matyy.de/doom/pbr-light-bug.pk3

This happens with the current git and also with 3.3.2
User avatar
Xane123
Posts: 165
Joined: Tue Nov 24, 2015 1:58 pm
Graphics Processor: nVidia (Modern GZDoom)
Location: Inwood, WV
Contact:

Re: PBR materials, lighting/reflections cut off

Post by Xane123 »

This reminds me of a bug I've noticed in my game; It seems the BSP tree or whatever it is is cutting off the reflections, but it only does it after a certain distance, as shown here by these two lights; They have a similar amount of space in front of them before they get cut off.
cutoff-lights.jpg
dpJudas
 
 
Posts: 3036
Joined: Sat May 28, 2016 1:01 pm

Re: PBR materials, lighting/reflections cut off

Post by dpJudas »

This has to do with the fact that reflection can be seen a lot further away than the usual light radius. I'm not sure exactly what the best way to deal with it as enlarging light radius used for culling will be expensive performance wise.
dpJudas
 
 
Posts: 3036
Joined: Sat May 28, 2016 1:01 pm

Re: PBR materials, lighting/reflections cut off

Post by dpJudas »

This should be fixed now.
Post Reply

Return to “Closed Bugs [GZDoom]”