Materials (PBR, Specular, Normal maps)

Handy guides on how to do things, written by users for users.

Moderators: GZDoom Developers, Raze Developers

Forum rules
Please don't start threads here asking for help. This forum is not for requesting guides, only for posting them. If you need help, the Editing forum is for you.
User avatar
Indecom
Posts: 271
Joined: Mon Jul 13, 2009 3:33 pm

Re: Materials (PBR, Specular, Normal maps)

Post by Indecom »

I'll put those into a preconfigured pk3 tonight after work.
User avatar
Darkcrafter
Posts: 562
Joined: Sat Sep 23, 2017 8:42 am
Operating System Version (Optional): Windows 10
Graphics Processor: nVidia with Vulkan support

Re: Materials (PBR, Specular, Normal maps)

Post by Darkcrafter »

That's really amazing! Are parallax maps possible? :mrgreen:

And what kind of video card will we need to play?
Talon1024
 
 
Posts: 374
Joined: Mon Jun 27, 2016 7:26 pm
Preferred Pronouns: He/Him
Graphics Processor: nVidia with Vulkan support
Contact:

Re: Materials (PBR, Specular, Normal maps)

Post by Talon1024 »

Parallax maps are not currently possible, and I don't know if/when they will become available.

You will need, at minimum, a video card that supports OpenGL 3.3.

If you're wondering what the metalness and roughness maps do, here is an interactive demo on the three.js website.
User avatar
Mynameislol
Posts: 51
Joined: Thu Feb 02, 2017 5:19 pm

Re: Materials (PBR, Specular, Normal maps)

Post by Mynameislol »

You know what would be a better feature than parallax maps? Tesselation.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49056
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Materials (PBR, Specular, Normal maps)

Post by Graf Zahl »

And why is that? Tesselation is not a render feature but a hardware feature to achieve something. On its own it doesn't provide anything.
User avatar
Mynameislol
Posts: 51
Joined: Thu Feb 02, 2017 5:19 pm

Re: Materials (PBR, Specular, Normal maps)

Post by Mynameislol »

If you have say a hi-res texture pack, everything looks blocky, right? But what if that hi-res texture pack had displacement maps?

Just look what it did to this flat wall here
https://www.evga.com/articles/00561/ima ... lation.jpg
skornedemon
Posts: 154
Joined: Mon Aug 02, 2010 11:10 am

Re: Materials (PBR, Specular, Normal maps)

Post by skornedemon »

Thank you based developers for adding this. I've been having a lot of fun.
Spoiler:
Edit:oh, there's an IMGUR tag, good to know :)
Last edited by skornedemon on Wed Apr 04, 2018 3:42 am, edited 2 times in total.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49056
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Materials (PBR, Specular, Normal maps)

Post by Graf Zahl »

Mynameislol wrote: But what if that hi-res texture pack had displacement maps?

Displacement maps are indeed a render feature - but you have to say that because it's not the only thing tesselation can be used for.
This is just like "I want shaders" but not specifying what to do with them.
User avatar
Nash
 
 
Posts: 17433
Joined: Mon Oct 27, 2003 12:07 am
Location: Kuala Lumpur, Malaysia
Contact:

Re: Materials (PBR, Specular, Normal maps)

Post by Nash »

As much as I am in the "modern graphics for GZDoom" boat, there is a limit to these things before it becomes far too irrelevant for a Doom engine. Geometry tesselation is one of them.
User avatar
Mynameislol
Posts: 51
Joined: Thu Feb 02, 2017 5:19 pm

Re: Materials (PBR, Specular, Normal maps)

Post by Mynameislol »

Nash wrote:As much as I am in the "modern graphics for GZDoom" boat, there is a limit to these things before it becomes far too irrelevant for a Doom engine. Geometry tesselation is one of them.
I've always found parallax mapping to be really ugly, what do you think would fit better here, geomentry tesselation, or parallax mapping?

http://fps.maros.pri.ee/images/gallerie ... 116015.jpg

Now this one is on a modified build engine, it has parallax mapping, wouldn't it look much better if it was disabled, or had tesselation?

http://hrp.duke4.net/screens/ep1/e1l3_03.jpg
Kotti
Posts: 86
Joined: Tue Dec 27, 2016 4:08 am

Re: Materials (PBR, Specular, Normal maps)

Post by Kotti »

Mynameislol wrote:
Nash wrote:As much as I am in the "modern graphics for GZDoom" boat, there is a limit to these things before it becomes far too irrelevant for a Doom engine. Geometry tesselation is one of them.
I've always found parallax mapping to be really ugly, what do you think would fit better here, geomentry tesselation, or parallax mapping?

http://fps.maros.pri.ee/images/gallerie ... 116015.jpg

How about using better looking textures? The ones in the screenshot are just :puke:, no matter how many effects get plastered onto them.
User avatar
Kinsie
Posts: 7399
Joined: Fri Oct 22, 2004 9:22 am
Graphics Processor: nVidia with Vulkan support
Location: MAP33
Contact:

Re: Materials (PBR, Specular, Normal maps)

Post by Kinsie »

Mynameislol wrote:
Nash wrote:As much as I am in the "modern graphics for GZDoom" boat, there is a limit to these things before it becomes far too irrelevant for a Doom engine. Geometry tesselation is one of them.
I've always found parallax mapping to be really ugly, what do you think would fit better here, geomentry tesselation, or parallax mapping?

http://fps.maros.pri.ee/images/gallerie ... 116015.jpg

Now this one is on a modified build engine, it has parallax mapping, wouldn't it look much better if it was disabled, or had tesselation?

http://hrp.duke4.net/screens/ep1/e1l3_03.jpg
They both look terrible. The geometry they're plastered on is just too low-detail to really work.
User avatar
Caligari87
Admin
Posts: 6174
Joined: Thu Feb 26, 2004 3:02 pm
Preferred Pronouns: He/Him
Contact:

Re: Materials (PBR, Specular, Normal maps)

Post by Caligari87 »

On top of that, neither is on the table at the moment so saying "which would you rather prefer" is like asking someone "which fancy sports car do you want to buy" when the car they have is fine and they don't have a budget for a new car anyway. Of course geometry deformation mapping would be cool, but it's far beyond what GZDoom needs.

Besides, floors and ceilings in Doom can move. I guarantee the nifty cool extruded geometry you're thinking of will look like ass when an elevator clips through it, to say nothing of what happens if there's some extreme deformation mapping that allows the player to see into spaces they shouldn't be able to. If anything, parallax mapping would be perfectly fine for bullet holes and subtle depth hints. Deformation mapping is way overkill.

8-)
skornedemon
Posts: 154
Joined: Mon Aug 02, 2010 11:10 am

Re: Materials (PBR, Specular, Normal maps)

Post by skornedemon »

So question.

The Glossiness and Specular level, I assume the max is 1.0 and the lowest is 0.0?
dpJudas
 
 
Posts: 3036
Joined: Sat May 28, 2016 1:01 pm

Re: Materials (PBR, Specular, Normal maps)

Post by dpJudas »

Lowest is 0.0 and there is no max. Note that those only do something with specular textures - PBR ignores those fields.
Post Reply

Return to “Tutorials”