[0.6.0-452-gfc466849ce] Lighting isn't diminishing properly
Moderator: Raze 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.
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.
-
- Posts: 830
- Joined: Sun Jun 16, 2019 9:17 pm
- Graphics Processor: nVidia with Vulkan support
- Location: Gosford NSW, Australia
Re: [0.6.0-452-gfc466849ce] Lighting isn't diminishing prope
Yeah I didn't see the point of that variable at all which is why I shit-canned it.
I think most were surprised you took on Polymost rather than Polymer as being newer I'd have thought it would have been a better starting point. I assume 'being too tied to OpenGL' means there was some part of it that was too hard to agnostify for the multi-renderer GZDoom backend? Given Polymost is what is most supported upstream (especially for ports like NBlood that I think are built without Polymer at all) using it for Raze as the starting point was the right move.
I think all things considered, the port is working very well on the full backend. I'm excited to see what comes next
I think most were surprised you took on Polymost rather than Polymer as being newer I'd have thought it would have been a better starting point. I assume 'being too tied to OpenGL' means there was some part of it that was too hard to agnostify for the multi-renderer GZDoom backend? Given Polymost is what is most supported upstream (especially for ports like NBlood that I think are built without Polymer at all) using it for Raze as the starting point was the right move.
I think all things considered, the port is working very well on the full backend. I'm excited to see what comes next
-
- Posts: 1349
- Joined: Tue Nov 05, 2019 6:48 am
- Preferred Pronouns: He/Him
- Graphics Processor: nVidia with Vulkan support
Re: [0.6.0-452-gfc466849ce] Lighting isn't diminishing prope
If there is one, I definitely can't see it frankly.mjr4077au wrote:Are you able to put a screenshot up of the exact spot I'm standing? I'd be interested to see the console in the screenshot showing the output of r_ambientlight and the build number.lowskill. wrote:Interesting, but to me it still doesn't explain why it works for us, but not for you, it just sounds like something that should be easily reproduced.
I can't believe its right for Graf and yourself and not for Markanini and I. Between the current git head (not my branch in the pull request) and 0.6.0, there is absolutely zero difference whatsoever?
EDIT: Probably doesn't matter anymore, it just got merged in.
In my build before your changes that got merged today, r_ambientlight returns the value of "1" to me, the same as 0.6.0. I've rechecked how 0.6.0 looked like and yes, it still looks the same to me, not kidding.
-
- Posts: 830
- Joined: Sun Jun 16, 2019 9:17 pm
- Graphics Processor: nVidia with Vulkan support
- Location: Gosford NSW, Australia
Re: [0.6.0-452-gfc466849ce] Lighting isn't diminishing prope
It's very interesting indeed... From all the screenshots in the PR, could you see a difference in them at all? The middle one is the off one.lowskill. wrote:If there is one, I definitely can't see it frankly.
In my build before your changes that got merged today, r_ambientlight returns the value of "1" to me, the same as 0.6.0. I've rechecked how 0.6.0 looked like and yes, it still looks the same to me, not kidding.
-
- Posts: 1349
- Joined: Tue Nov 05, 2019 6:48 am
- Preferred Pronouns: He/Him
- Graphics Processor: nVidia with Vulkan support
Re: [0.6.0-452-gfc466849ce] Lighting isn't diminishing prope
Yes, when the lighting is broken everything looks very flat, so I can definitely spot it when it's borked, I can see that as clear as day.mjr4077au wrote:It's very interesting indeed... From all the screenshots in the PR, could you see a difference in them at all? The middle one is the off one.lowskill. wrote:If there is one, I definitely can't see it frankly.
In my build before your changes that got merged today, r_ambientlight returns the value of "1" to me, the same as 0.6.0. I've rechecked how 0.6.0 looked like and yes, it still looks the same to me, not kidding.
-
- Posts: 830
- Joined: Sun Jun 16, 2019 9:17 pm
- Graphics Processor: nVidia with Vulkan support
- Location: Gosford NSW, Australia
Re: [0.6.0-452-gfc466849ce] Lighting isn't diminishing prope
Genuinely not sure. Either way, the values are back to what they were before and r_ambientlight now works for all games so I'd call it a winlowskill. wrote:Yes, when the lighting is broken everything looks very flat, so I can definitely spot it when it's borked, I can see that as clear as day.mjr4077au wrote:It's very interesting indeed... From all the screenshots in the PR, could you see a difference in them at all? The middle one is the off one.
-
- Lead GZDoom+Raze Developer
- Posts: 49183
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: [0.6.0-452-gfc466849ce] Lighting isn't diminishing prope
I think everybody knows that Polymer has performance issues. My first attempts weren't really to make a new port but to get Polymost working in a fashion that I could play the games without that constant frame skips I got with EDuke and to get Blood running on a full true color renderer.mjr4077au wrote: I think most were surprised you took on Polymost rather than Polymer as being newer I'd have thought it would have been a better starting point.
Here Polymer was a no-go because unlike Polymost it has the palette lookup even deeper in the logic - in short, the renderer did not give me what I wanted.
-
- Posts: 1349
- Joined: Tue Nov 05, 2019 6:48 am
- Preferred Pronouns: He/Him
- Graphics Processor: nVidia with Vulkan support
Re: [0.6.0-452-gfc466849ce] Lighting isn't diminishing prope
I think Polymer was also specifically made for Duke if I remember correctly, so we're all better off just doing a whole new render in that case anyway since fixing up and finishing Polymer isn't really a viable option. We'll get there one day .Graf Zahl wrote:I think everybody knows that Polymer has performance issues. My first attempts weren't really to make a new port but to get Polymost working in a fashion that I could play the games without that constant frame skips I got with EDuke and to get Blood running on a full true color renderer.mjr4077au wrote: I think most were surprised you took on Polymost rather than Polymer as being newer I'd have thought it would have been a better starting point.
Here Polymer was a no-go because unlike Polymost it has the palette lookup even deeper in the logic - in short, the renderer did not give me what I wanted.
Not like Polymost really is honestly. I still wonder why we're not shitcanning the thing here and now sometimes.
-
- Posts: 1349
- Joined: Tue Nov 05, 2019 6:48 am
- Preferred Pronouns: He/Him
- Graphics Processor: nVidia with Vulkan support
Re: [0.6.0-452-gfc466849ce] Lighting isn't diminishing prope
You know, going through Exhumed at the moment, the extremely bad Build sector lighting is hilarious in this game. If you thought the other games look bad, well, Exhumed is definitely the worst offender so far.
I mean look at this shit, it's awful - https://i.imgur.com/pnQPZgF.png
Can't wait to have better sector light modes, new or those from Doom, whatever, it can't be worse than this nonsense... Build's shaders are also really primitive.
I mean look at this shit, it's awful - https://i.imgur.com/pnQPZgF.png
Can't wait to have better sector light modes, new or those from Doom, whatever, it can't be worse than this nonsense... Build's shaders are also really primitive.
-
- Posts: 309
- Joined: Tue Apr 10, 2018 8:14 am
Re: [0.6.0-452-gfc466849ce] Lighting isn't diminishing prope
or it's cause you're playing with palette emulation disabled
-
- Posts: 830
- Joined: Sun Jun 16, 2019 9:17 pm
- Graphics Processor: nVidia with Vulkan support
- Location: Gosford NSW, Australia
Re: [0.6.0-452-gfc466849ce] Lighting isn't diminishing prope
That's still getting reimplemented on the new backend, it's unusable currently.Phredreeke wrote:or it's cause you're playing with palette emulation disabled
-
- Posts: 1349
- Joined: Tue Nov 05, 2019 6:48 am
- Preferred Pronouns: He/Him
- Graphics Processor: nVidia with Vulkan support
Re: [0.6.0-452-gfc466849ce] Lighting isn't diminishing prope
Working around the root cause is NOT a fix.Phredreeke wrote:or it's cause you're playing with palette emulation disabled
Build engine needs better sector light modes with more advanced and robust shaders, period. This is completely disgraceful.
-
- Posts: 210
- Joined: Sat Jan 18, 2020 6:10 am
Re: [0.6.0-452-gfc466849ce] Lighting isn't diminishing prope
I can confirm with mjr4077au's fix current master has correct lighting falloff.
-
- Posts: 830
- Joined: Sun Jun 16, 2019 9:17 pm
- Graphics Processor: nVidia with Vulkan support
- Location: Gosford NSW, Australia
Re: [0.6.0-452-gfc466849ce] Lighting isn't diminishing prope
This one might need to be opened again... Playing on my work laptop at 1080p (my main PC is 1440p), the lighting is diminishing too soon. Before all the lighting changes in 0bd460d9e3bbaf239f4a33f9ce589dff58660bea, while it was a complete shitfight, the lighting diminished consistently irrespective of resolution.
This might explain why Graf and lowskill. had no perceived issues whereas I did.
This might explain why Graf and lowskill. had no perceived issues whereas I did.
-
- Posts: 1349
- Joined: Tue Nov 05, 2019 6:48 am
- Preferred Pronouns: He/Him
- Graphics Processor: nVidia with Vulkan support
Re: [0.6.0-452-gfc466849ce] Lighting isn't diminishing prope
So this has become a resolution specific issue now? Wtf. I wonder how it happened.
But it still bugs me that this is happening on a laptop. Does it run on the dedicated GPU or the integrated one? If it's the integrated one I wouldn't be surprised if it's a driver issue or something.
But it still bugs me that this is happening on a laptop. Does it run on the dedicated GPU or the integrated one? If it's the integrated one I wouldn't be surprised if it's a driver issue or something.
-
- Lead GZDoom+Raze Developer
- Posts: 49183
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: [0.6.0-452-gfc466849ce] Lighting isn't diminishing prope
The entire projection math in Polymost is all fucked up and apparently cannot produce consistent distance results.