Did per-pixel lighting ever get implemented?

Discuss anything ZDoom-related that doesn't fall into one of the other categories.
invictius
Posts: 431
Joined: Fri Aug 03, 2012 6:44 am

Did per-pixel lighting ever get implemented?

Post by invictius »

All I'm finding about it are (non-community) articles from mid-2017 saying gzdoom would have it soon, but no sign of it in release notes or anything like that. If it has indeed been implemented, what's a simple wad that shows the effect the best?
Professor Hastig
Posts: 248
Joined: Mon Jan 09, 2023 2:02 am
Graphics Processor: nVidia (Modern GZDoom)

Re: Did per-pixel lighting ever get implemented?

Post by Professor Hastig »

Everything that uses dynamic lights, maybe? Those are done per pixel.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49130
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Did per-pixel lighting ever get implemented?

Post by Graf Zahl »

What are you expecting here? Per-pixel application of dynamic lights has been a thing for many, many years. Glow gradients are also done per pixel and the advanced light modes like specular or PBR cannot be done any other way.

Textured dynamic lights have been discontinued a long time ago.
invictius
Posts: 431
Joined: Fri Aug 03, 2012 6:44 am

Re: Did per-pixel lighting ever get implemented?

Post by invictius »

Graf Zahl wrote: Thu Feb 09, 2023 10:49 am What are you expecting here? Per-pixel application of dynamic lights has been a thing for many, many years. Glow gradients are also done per pixel and the advanced light modes like specular or PBR cannot be done any other way.

Textured dynamic lights have been discontinued a long time ago.
I guess lighting that would reflect off of a section of a weapon instead of the entire weapon.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49130
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Did per-pixel lighting ever get implemented?

Post by Graf Zahl »

If you got models with PBR textures that would be possible, but there is no magic wand to create effects where none are defined.
User avatar
Nash
 
 
Posts: 17454
Joined: Mon Oct 27, 2003 12:07 am
Location: Kuala Lumpur, Malaysia

Re: Did per-pixel lighting ever get implemented?

Post by Nash »

Weapon sprites are not lit per pixel. Weapon models are, though.

Return to “General”