[Already In] A pretty good alternative to normal maps

Moderator: GZDoom Developers

A pretty good alternative to normal maps

Postby Darkcrafter » Wed Mar 07, 2018 1:30 pm

I really like the way these pallette posterized dynamic lights look like in QZDoom Software renderer. Having these in OpenGL mode would be awesome as this pallette restriction is exactly what makes dynamic lghts look right.

So I made some screens: https://drive.google.com/open?id=1Ux9fM ... 9LIFR4YSwq

Would also like to have some sort of parallax-mapping as it doesn't need any light source information to make doom look better.
Darkcrafter
 
Joined: 23 Sep 2017
Location: Russia

Re: A pretty good alternative to normal maps

Postby Graf Zahl » Wed Mar 07, 2018 4:14 pm

I'm tempted to say 'no' outright, but if dpJudas thinks this has some merit I may reconsider. The chances are slim, though. If you want stuff to look like the software renderer, use the software renderer!
User avatar
Graf Zahl
Lead GZDoom Developer
 
Joined: 19 Jul 2003
Location: Germany

Re: A pretty good alternative to normal maps

Postby dpJudas » Wed Mar 07, 2018 4:26 pm

I'm not really sure I understand the request here. The lights in the palette software renderer are calculated in true color just like in the GL renderer. Just before storing the result it uses a 6-bit lookup table to find the nearest palette color.

This is functionally identical to enabling the palette tonemap in the GL renderer. So unless I misunderstood something here, this could actually be marked as [Already In].
dpJudas
 
 
 
Joined: 28 May 2016

Re: A pretty good alternative to normal maps

Postby Rachael » Wed Mar 07, 2018 5:13 pm

Code: Select allExpand view
gl_tonemap 5
gl_bandedswlight true


You'll get pretty much the exact same result as in those screenshots.

There will be no further features added at this time to gimp the colour output of the OpenGL renderer - a lot is already possible with the custom shader system anyhow if you need to customize this any further.
User avatar
Rachael
Webmaster
 
Joined: 13 Jan 2004
Discord: Rachael#3767
Twitch ID: madamerachelle
Github ID: madame-rachelle

Re: A pretty good alternative to normal maps

Postby EmperorGrieferus » Fri Jan 25, 2019 12:25 pm

Rachael wrote:
Code: Select allExpand view
gl_tonemap 5
gl_bandedswlight true


You'll get pretty much the exact same result as in those screenshots.

There will be no further features added at this time to gimp the colour output of the OpenGL renderer - a lot is already possible with the custom shader system anyhow if you need to customize this any further.

What means "Banded Software Lightmode"? Does it makes OpenGL renderer looks more similar to standard Software renderer?
EmperorGrieferus
 
Joined: 31 May 2017

Re: A pretty good alternative to normal maps

Postby Rachael » Fri Jan 25, 2019 12:27 pm

One of the "features" so to speak because of the limited COLORMAP ramps in the original Doom was the banding lines between each light level. This recreates the effect in OpenGL. It makes the light fading in the Software light mode into a steppy-gradient instead of a smooth one.
User avatar
Rachael
Webmaster
 
Joined: 13 Jan 2004
Discord: Rachael#3767
Twitch ID: madamerachelle
Github ID: madame-rachelle


Return to Closed Feature Suggestions

Who is online

Users browsing this forum: No registered users and 1 guest