Making Doom3 textures look less flat in Doom
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
Making Doom3 textures look less flat in Doom
I mentioned this in the "what the hell" thread and a few people have asked me about it, so here goes. I use Paint Shop Pro for this so it is written from that perspective but any decent image editor should allow it. Some of the attached pix are in 256 colours to make them smaller but the image processing should be done in true colour as some of the functions need it.
The problem: Doom 3 has a lot of textures that people want to use but the Doom3 engine (as with many modern games) can do stuff with textures that older games can't. As a result, most of the Doom3 textures are actually very dull and flat looking. The Doom 3 engine adds the 3D appearance of them at run time.
The solution: Use some of the resources that the engine has to add at least a little more depth to the textures.
Here are the resources that you will find for most textures. These are actually for a model skin but textures are the same.
There is the basic texture:
Pretty flat and boring huh?
There is what I believe is called a normal map:
Weird looking things aren't they?
And there is also another texture which I think has something to do with brightness.
I don't always use that one, but it can come in handy.
The normal map needs to be darkened and grey scaled. Most should have an alpha layer with a mask in them so you might want to apply that first (PSP "Mask/Load from Alpha chanel...")
However, because you are going to be making the image very dark anyway, sometimes this doesn't really matter.
Anyway, once you have decided on that, the normal map needs to be greyscaled (PSP "Colors/Greyscale) and darkened. I usually use the gamma control (PSP Shift G) set to about 0.25 but different methods - eg brightness and contrast (PSP Shift B) can get good results. It's a bit trial and error. Anyway, you will end up with something like this:
Now you need to paste it over the main texture but do so with translucency. (In PSP, Ctrl-L pastes in a new layer then "Layers/Properties..." opens a dialogue that allows you to set opacity.) I find that around about 50% opacity works quite well a lot of the time but, again, a bit of trial and error is required.
Sometimes it is worth throwing the "brightness" texture into the mix too. It doesn't always look good but sometimes it does. Again, fiddling with translucency and brightness values to get it looking like you want is required.
So, here are the different versions as comparisons. First the original flat picture, then one with the normal map applied then finally one with the normal map and the brightness map.
Obviously it does change the colour of the texture slightly but this may, or may not be a problem and it can even look better. I know that the description sounds quite long but once you get into the swing of it, you can get an individual texture done in a matter of seconds.
The problem: Doom 3 has a lot of textures that people want to use but the Doom3 engine (as with many modern games) can do stuff with textures that older games can't. As a result, most of the Doom3 textures are actually very dull and flat looking. The Doom 3 engine adds the 3D appearance of them at run time.
The solution: Use some of the resources that the engine has to add at least a little more depth to the textures.
Here are the resources that you will find for most textures. These are actually for a model skin but textures are the same.
There is the basic texture:
Pretty flat and boring huh?
There is what I believe is called a normal map:
Weird looking things aren't they?
And there is also another texture which I think has something to do with brightness.
I don't always use that one, but it can come in handy.
The normal map needs to be darkened and grey scaled. Most should have an alpha layer with a mask in them so you might want to apply that first (PSP "Mask/Load from Alpha chanel...")
However, because you are going to be making the image very dark anyway, sometimes this doesn't really matter.
Anyway, once you have decided on that, the normal map needs to be greyscaled (PSP "Colors/Greyscale) and darkened. I usually use the gamma control (PSP Shift G) set to about 0.25 but different methods - eg brightness and contrast (PSP Shift B) can get good results. It's a bit trial and error. Anyway, you will end up with something like this:
Now you need to paste it over the main texture but do so with translucency. (In PSP, Ctrl-L pastes in a new layer then "Layers/Properties..." opens a dialogue that allows you to set opacity.) I find that around about 50% opacity works quite well a lot of the time but, again, a bit of trial and error is required.
Sometimes it is worth throwing the "brightness" texture into the mix too. It doesn't always look good but sometimes it does. Again, fiddling with translucency and brightness values to get it looking like you want is required.
So, here are the different versions as comparisons. First the original flat picture, then one with the normal map applied then finally one with the normal map and the brightness map.
Obviously it does change the colour of the texture slightly but this may, or may not be a problem and it can even look better. I know that the description sounds quite long but once you get into the swing of it, you can get an individual texture done in a matter of seconds.
- Ryan Cordell
- Posts: 4349
- Joined: Sun Feb 06, 2005 6:39 am
- Preferred Pronouns: No Preference
- Operating System Version (Optional): Windows 10
- Graphics Processor: nVidia (Modern GZDoom)
- Location: Capital of Explodistan
Re: Making Doom3 textures look less flat in Doom
That..
Or Graf could have just implemented all those forms of mapping (normal, parallax.. ) into GZDoom a good while ago, eh?
Or Graf could have just implemented all those forms of mapping (normal, parallax.. ) into GZDoom a good while ago, eh?
-
- Posts: 3975
- Joined: Fri Jul 06, 2007 9:16 am
Re: Making Doom3 textures look less flat in Doom
Nice tutorial
Now if only I could find out how to make images transparent using GIMP, I can add alpha channels, but I don't think that's quite the same
Now if only I could find out how to make images transparent using GIMP, I can add alpha channels, but I don't think that's quite the same
- Cutmanmike
- Posts: 11335
- Joined: Mon Oct 06, 2003 3:41 pm
- Operating System Version (Optional): Windows 10
- Location: United Kingdom
- Contact:
Re: Making Doom3 textures look less flat in Doom
Nice little tutorial. Might also work for other games that use the same kinda method for rending textures.
So uh... when do we get NJD3MODELS.pk3?
So uh... when do we get NJD3MODELS.pk3?
- Dark-Assassin
- Posts: 742
- Joined: Thu Mar 19, 2009 3:40 am
- Location: South Australia
Re: Making Doom3 textures look less flat in Doom
i done this method a completely different way (looks at 3d chaingun in ds-models.pk3)
i juat added all the layers in photoshop or gimp (can't remember what i used), and messed with the layer blending.
i wish i could remember what blend i used.
i juat added all the layers in photoshop or gimp (can't remember what i used), and messed with the layer blending.
i wish i could remember what blend i used.
- InsanityBringer
- Posts: 3386
- Joined: Thu Jul 05, 2007 4:53 pm
- Location: opening the forbidden box
Re: Making Doom3 textures look less flat in Doom
I think that's the specularity map, which probably defines how much light a part of a texture will reflectEnjay wrote:And there is also another texture which I think has something to do with brightness.
<img>
I don't always use that one, but it can come in handy.
And usually the "Normal Map" you have there is called a Bump map (because it defines "bumps" on the texture which can then be highlighted or cast shadows.)
- esselfortium
- Posts: 3862
- Joined: Tue Sep 19, 2006 8:43 pm
- Contact:
Re: Making Doom3 textures look less flat in Doom
In Photoshop, some of the layer blending modes like "Overlay" or "Soft Light" might work out better than just applying the normal map on top of it normally (no pun intended), as you won't get the color loss that you mentioned.
- Remmirath
- Posts: 2561
- Joined: Sun Dec 23, 2007 3:53 am
- Graphics Processor: nVidia with Vulkan support
- Location: My house
- Contact:
Re: Making Doom3 textures look less flat in Doom
Something like this, maybe?
Re: Making Doom3 textures look less flat in Doom
There are a few different overlay methods in PSP that can be messed around with. Again it's all trial and error. Different textures work better or worse with different overlay methods. I found that a simple translucent overlay worked well most of the time but the others are worth trying until you find one that you like. Whichever method you use, the textures almost always come out looking better than the excessively flat rips that I have seen in a number of WADs.
@InsanityBringer
Yes, you're quite right. That is the specularity map. In fact, they have an S at the end of the file name indicating as much.
I thought that bump maps were something different? Something that existed pre Doom3 generation engines. No?
@InsanityBringer
Yes, you're quite right. That is the specularity map. In fact, they have an S at the end of the file name indicating as much.
I thought that bump maps were something different? Something that existed pre Doom3 generation engines. No?
Re: Making Doom3 textures look less flat in Doom
Normal mapping is a kind of bump mapping (where "normal" is the geometric idea of a vector going perpendicularly away from a surface). If you're really curious I bet Wikipedia has an article on it.Enjay wrote:I thought that bump maps were something different? Something that existed pre Doom3 generation engines. No?
Re: Making Doom3 textures look less flat in Doom
I've always wondered why no Doom ports (to my knowledge) implement these things.Blade Nightflame wrote:That..
Or Graf could have just implemented all those forms of mapping (normal, parallax.. ) into GZDoom a good while ago, eh?
- esselfortium
- Posts: 3862
- Joined: Tue Sep 19, 2006 8:43 pm
- Contact:
Re: Making Doom3 textures look less flat in Doom
Probably at least in part due to the fact that sector lighting has no direction, it's just kind of....there. So there's no "correct" way to handle bumpmapping on surfaces for which you have no light direction.jute wrote:I've always wondered why no Doom ports (to my knowledge) implement these things.Blade Nightflame wrote:That..
Or Graf could have just implemented all those forms of mapping (normal, parallax.. ) into GZDoom a good while ago, eh?
- XutaWoo
- Posts: 4005
- Joined: Sat Dec 30, 2006 4:25 pm
- Location: beautiful hills of those who are friends
- Contact:
Re: Making Doom3 textures look less flat in Doom
No correct way, but it could just be added as runtime start shading as a lazy way of importing textures from new games.esselfortium wrote:So there's no "correct" way to handle bumpmapping on surfaces for which you have no light direction.
Re: Making Doom3 textures look less flat in Doom
Maybe it could react to dynamic lights from torches, projectiles, etc.?
Re: Making Doom3 textures look less flat in Doom
And your frame rate slams into the floor, reaching negative values.jute wrote:Maybe it could react to dynamic lights from torches, projectiles, etc.?