SUBSIM Radio Room Forums



SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997

Go Back   SUBSIM Radio Room Forums > Silent Hunter 3 - 4 - 5 > SH4 Mods Workshop
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 03-18-26, 01:31 PM   #1
ElCid97
Engineer
 
Join Date: Nov 2019
Location: Miami, FL
Posts: 204
Downloads: 146
Uploads: 6


Default Normal Maps for SH4 Ships.

Just a question to put out there before heading back to work.

I've noticed that all the default ships have a normal map assigned to them. It's the greenish texture with the "_N01.dds" ending in the name. For those not aware of this, it's the texture that adds some 3D details to the textures without having to make a 3D model. This is used, for example, to accent ship's plating seams or rivets on an older hull. You can also use it to give a porthole a little "bevel" so it looks like there's a 3D porthole ring around a porthole that's just painted onto a flat surface. It's a really cool effect if combined with good textures and done properly.

I've been able to create some normal maps for an addon ship, but unfortunately, I'm not seeing anything once I'm in game -- both in the museum and in a simple test mission.

The main difference I've seen is that the default normal textures are green while mine are purple. Does the color matter?

I've saved the texture in a DDS and DXT1 compression without alpha since that seems to be the format for the default ones.

I've checked the default ships again, and noticed I couldn't tell if there was anything there. Maybe because it's too subtle?

I was just wondering if there was any success with Normal Maps in the past by modders. I was asking because I was thinking of using it to add some details to the ships from BH's Ship Pack as well as his Unrestricted Submarine Warfare packs -- specifically those that were done by Alex and included in the updates. I'm adding civilian textures for use in the earlier part of the war, then some more detailed IJN gray ones for early to mid-war.

Alex's textures are great, so I'd like to see if we can add some more details to the ships to go with his ambient occlussion work -- specifically by painting some rolled up mattresses along the outside of the gray bridge areas of the IJN textures and then using the normal map to give a slight "extrusion" so it looks like there are 3D mattresses mounted to the bridge where there aren't any.

Any thoughts?

I'll check back tonight when I get back from work.

Saludos!

ElCid97
ElCid97 is offline   Reply With Quote
Old 03-18-26, 01:43 PM   #2
Jeff-Groves
GLOBAL MODDING TERRORIST
 
Jeff-Groves's Avatar
 
Join Date: Sep 2014
Posts: 4,242
Downloads: 149
Uploads: 0


Default

Here you go.
https://www.subsim.com/radioroom/sho...d.php?t=145555
Jeff-Groves is offline   Reply With Quote
Old 03-18-26, 09:27 PM   #3
ElCid97
Engineer
 
Join Date: Nov 2019
Location: Miami, FL
Posts: 204
Downloads: 146
Uploads: 6


Default

Quote:
Originally Posted by Jeff-Groves View Post
Thanks, Jeff!

I'll check it out and see what happens.

Saludos!

ElCid97
ElCid97 is offline   Reply With Quote
Old 03-19-26, 05:54 AM   #4
ElCid97
Engineer
 
Join Date: Nov 2019
Location: Miami, FL
Posts: 204
Downloads: 146
Uploads: 6


Default

Well ...

Don't try to do things when tired after work.

I'd gotten the channel swapping to work (different with GIMP and AMD cards, but works), so it should have been working like advertised.

Still nothing.

I then went back to the forum and just one part of the posting you referenced stuck out -- config.

Turns out I'd never added the "Normal" line for the texture call ups.

Works fine now!

Thanks again for the heads up!

Saludos!

ElCid97
ElCid97 is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 10:43 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
Copyright © 1995- 2026 Subsim®
"Subsim" is a registered trademark, all rights reserved.