Page 1 of 1
Did per-pixel lighting ever get implemented?
Posted: Thu Feb 09, 2023 4:27 am
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?
Re: Did per-pixel lighting ever get implemented?
Posted: Thu Feb 09, 2023 5:24 am
by Professor Hastig
Everything that uses dynamic lights, maybe? Those are done per pixel.
Re: Did per-pixel lighting ever get implemented?
Posted: Thu Feb 09, 2023 10:49 am
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.
Re: Did per-pixel lighting ever get implemented?
Posted: Fri Feb 17, 2023 8:22 am
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.
Re: Did per-pixel lighting ever get implemented?
Posted: Fri Feb 17, 2023 9:46 am
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.
Re: Did per-pixel lighting ever get implemented?
Posted: Fri Feb 17, 2023 4:40 pm
by Nash
Weapon sprites are not lit per pixel. Weapon models are, though.