Materials (PBR, Specular, Normal maps)

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

Moderator: GZDoom 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.

Re: Materials (PBR, Specular, Normal maps)

Postby Indecom » Fri Mar 30, 2018 10:56 am

I'll put those into a preconfigured pk3 tonight after work.
User avatar
Indecom
Check out QuakenDoom 2, my Q2 TC for Doom 2
 
Joined: 13 Jul 2009

Re: Materials (PBR, Specular, Normal maps)

Postby Darkcrafter » Sat Mar 31, 2018 1:38 pm

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

And what kind of video card will we need to play?
User avatar
Darkcrafter
 
Joined: 23 Sep 2017
Location: South Russia
Operating System: Windows 10/8.1/8 64-bit
Graphics Processor: ATI/AMD (Modern GZDoom)

Re: Materials (PBR, Specular, Normal maps)

Postby Talon1024 » Tue Apr 03, 2018 3:35 am

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.
Talon1024
 
 
 
Joined: 27 Jun 2016
Github ID: Talon1024
Operating System: Debian-like Linux (Debian, Ubuntu, Kali, Mint, etc) 64-bit
Graphics Processor: nVidia with Vulkan support

Re: Materials (PBR, Specular, Normal maps)

Postby Mynameislol » Tue Apr 03, 2018 11:00 am

You know what would be a better feature than parallax maps? Tesselation.
User avatar
Mynameislol
 
Joined: 02 Feb 2017

Re: Materials (PBR, Specular, Normal maps)

Postby Graf Zahl » Tue Apr 03, 2018 5:17 pm

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
Graf Zahl
Lead GZDoom Developer
Lead GZDoom Developer
 
Joined: 19 Jul 2003
Location: Germany

Re: Materials (PBR, Specular, Normal maps)

Postby Mynameislol » Tue Apr 03, 2018 5:30 pm

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
User avatar
Mynameislol
 
Joined: 02 Feb 2017

Re: Materials (PBR, Specular, Normal maps)

Postby skornedemon » Tue Apr 03, 2018 10:32 pm

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 4:42 am, edited 2 times in total.
skornedemon
Doom modding since '99.
 
Joined: 02 Aug 2010
Discord: Skorne#1213

Re: Materials (PBR, Specular, Normal maps)

Postby Graf Zahl » Wed Apr 04, 2018 3:07 am

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
Graf Zahl
Lead GZDoom Developer
Lead GZDoom Developer
 
Joined: 19 Jul 2003
Location: Germany

Re: Materials (PBR, Specular, Normal maps)

Postby Nash » Wed Apr 04, 2018 4:24 am

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
Nash
 
 
 
Joined: 27 Oct 2003
Location: Kuala Lumpur, Malaysia
Github ID: nashmuhandes

Re: Materials (PBR, Specular, Normal maps)

Postby Mynameislol » Wed Apr 04, 2018 5:26 am

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
User avatar
Mynameislol
 
Joined: 02 Feb 2017

Re: Materials (PBR, Specular, Normal maps)

Postby Kotti » Wed Apr 04, 2018 7:34 am

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.
Kotti
 
Joined: 27 Dec 2016

Re: Materials (PBR, Specular, Normal maps)

Postby Kinsie » Wed Apr 04, 2018 8:01 am

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
Kinsie
A Concept Utterly Obsolete
 
Joined: 22 Oct 2004
Location: MAP33
Discord: Find Me...
Twitch ID: thekinsie

Re: Materials (PBR, Specular, Normal maps)

Postby Caligari87 » Wed Apr 04, 2018 8:06 am

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-)
User avatar
Caligari87
I'm just here for the community
User Accounts Assistant
 
Joined: 26 Feb 2004
Location: Salt Lake City, Utah, USA
Discord: Caligari87#3089

Re: Materials (PBR, Specular, Normal maps)

Postby skornedemon » Thu Apr 05, 2018 2:24 am

So question.

The Glossiness and Specular level, I assume the max is 1.0 and the lowest is 0.0?
skornedemon
Doom modding since '99.
 
Joined: 02 Aug 2010
Discord: Skorne#1213

Re: Materials (PBR, Specular, Normal maps)

Postby dpJudas » Thu Apr 05, 2018 3:32 am

Lowest is 0.0 and there is no max. Note that those only do something with specular textures - PBR ignores those fields.
dpJudas
 
 
 
Joined: 28 May 2016

PreviousNext

Return to Tutorials

Who is online

Users browsing this forum: No registered users and 0 guests