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 > SH5 Mods Workshop
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 05-05-11, 09:10 AM   #1
Rongel
Grey Wolf
 
Join Date: Jan 2009
Location: Finland
Posts: 857
Downloads: 174
Uploads: 0
Default

Quote:
Ok, got your method to work. Yes it does stop the lighting anomoly bug BUT the lighting is now 'flat' and has problems:
I think that is the way it should work. As you can see the third material is also being used in the original DMG_ nodes.

EDIT:

And I can see the sun affecting to the ship, it illuminates the sunny side. But it could be that the effect is a bit different than was before.
Rongel is offline   Reply With Quote
Old 05-05-11, 09:15 AM   #2
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Rongel View Post
I think that is the way it should work. As you can see the third material is also being used in the original DMG_ nodes.

EDIT:

And I can see the sun affecting to the ship, it illuminates the sunny side. But it could be that the effect is a bit different than was before.
the sun should light up the side of the ship like this: http://www.subsim.com/radioroom/show...&postcount=295

Why don't you send me what you have and I'll look at it in-game also

EDIT2:

I think the ship I'm using is flawed....Trying another ship (Akita)
TheDarkWraith is offline   Reply With Quote
Old 05-05-11, 09:31 AM   #3
Rongel
Grey Wolf
 
Join Date: Jan 2009
Location: Finland
Posts: 857
Downloads: 174
Uploads: 0
Default

Here is my results, I'll send you a link to my ship soon!





You know, I'm not sure which one did the trick, maybe the corrected Normal map, or the material assignment. So if it was the last one, then we can use Zedi's normal maps. The results will change a bit but I think with this setup we have all the functionality and no bugs.

PS. The last image has the shadows of the railings showing, but it's not a bug, this ship uses two textures, and the other one has railings painted in it's textures. So the sun enchances the railings, but with this texture, it's a bit weird.
Rongel is offline   Reply With Quote
Old 05-05-11, 09:39 AM   #4
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Rongel View Post
You know, I'm not sure which one did the trick, maybe the corrected Normal map, or the material assignment. So if it was the last one, then we can use Zedi's normal maps. The results will change a bit but I think with this setup we have all the functionality and no bugs.
The ship I was using before is flawed. Now using the Akita everything works I can confirm that the problem was the normal map (NO map entries needed for DMG_col node). Using what I sent you all I had to do was replace the normal map with the stock one. I set the MediumLODDistance to 15.0 and the LowLODDistance to 80.0

Hindsight is always 20/20 It should've hit me that the normal map was the problem As we moved the camera closer to the unit the Unified Render Controller was invoking the bump map when we hit the MediumLODDistance. Since the normal map wasn't 'correct' it couldn't render the bump map correctly and thus we got a darkened unit. Now with a 'working' normal map (the stock one) we get BEAUTIFUL bump mapping. Just look at the details here


Now need to figure out how to get shadows and reflections of unit/parts of unit on water....

Last edited by TheDarkWraith; 05-05-11 at 09:55 AM.
TheDarkWraith is offline   Reply With Quote
Old 05-05-11, 09:54 AM   #5
Rongel
Grey Wolf
 
Join Date: Jan 2009
Location: Finland
Posts: 857
Downloads: 174
Uploads: 0
Default

Quote:
The ship I was using before is flawed. Now using the Akita everything works I can confirm that the problem was the normal map (NO map entries needed for DMG_col node). Using what I sent you all I had to do was replace the normal map with the stock one
Great! We have now pretty good looking ships

Now one thing I noticed is that the guns and instruments have textures but no normal maps or occlusion maps. So they are rendered plain. Is it because Granny format can't touch the old guns?

And here's something spooky I saw earlier. I had sunk my ship and played around then saw something moving in the water and zoomed there:



Invisible ghost ship? No, it was the SH 5 foam effect still going strong, full ahead. Soon it disappeared. Weirdness, maybe my own bad import of the effect or a real problem. Haven't seen it since.
Rongel is offline   Reply With Quote
Old 05-05-11, 09:58 AM   #6
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Rongel View Post
Great! We have now pretty good looking ships

Now one thing I noticed is that the guns and instruments have textures but no normal maps or occlusion maps.
Yes we do have pretty good looking ships now Excellent job

Check the files I sent you. One of the ships contains textures in \data\Textures\TNormal\tex for the _Nxx and _Oxx for the guns.
TheDarkWraith is offline   Reply With Quote
Old 05-05-11, 10:11 AM   #7
Rongel
Grey Wolf
 
Join Date: Jan 2009
Location: Finland
Posts: 857
Downloads: 174
Uploads: 0
Default

Quote:
Check the files I sent you. One of the ships contains textures in \data\Textures\TNormal\tex for the _Nxx and _Oxx for the guns.
I checked them and the seem to be the same as in SH 5 texture folder (or some mod has put them there) But I just can't get any shadows or lighting affecting them, no idea. You see the spotlight in one of the pictures above.

The shader business was pretty nice work, do you think that it could contain the resolution to our weird underwater/above damage graphics. It's a shame if we can't get the hole show in above the waterline. I tested Sh 4 again, and you can shoot the ships full of holes, really nice effect. And basically it seems that these ships could do it too.
Rongel is offline   Reply With Quote
Reply

Thread Tools
Display Modes

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 02:31 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.