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 12-13-07, 08:30 AM   #1
jaketoox
Gunner
 
Join Date: Jul 2007
Location: Finland
Posts: 93
Downloads: 5
Uploads: 0
Default [REL] Fix for glowing water around objects in SH4 1.4

I thought that the glow would look better if it wasn't so intensive as it is...so it had to be tuned down a bit...hope you can see the difference in these pictures...

-Before-




-After-




And here's the FIX , JSGME ready.

Hope you enjoy, skippers



Jake
jaketoox is offline   Reply With Quote
Old 12-13-07, 08:41 AM   #2
DrBeast
The Old Man
 
Join Date: Oct 2007
Location: Somewhere Out In Space
Posts: 1,408
Downloads: 36
Uploads: 0
Default

Neat! Gonna grab this for when I finally install the new patch (read: ROW is 1.4-ready)
__________________



Let the Beast inside you free!
DrBeast is offline   Reply With Quote
Old 12-13-07, 08:42 AM   #3
Reece
CINC Pacific Fleet
 
Reece's Avatar
 
Join Date: Sep 2003
Location: Down Under
Posts: 34,738
Downloads: 171
Uploads: 0
Default

Nice quick fix! Thanks much!!
__________________

Sub captains go down with their ship!
Reece is offline   Reply With Quote
Old 12-13-07, 09:01 AM   #4
pythos
Grey Wolf
 
Join Date: May 2005
Location: Somewhere over there
Posts: 834
Downloads: 46
Uploads: 0
Default

I kinda like the look of Cherenkov radiation around my sub. Gives me a feeling the plants are working fully. Oh wait, these are diesle boats, not Nukes.

In truth, unless stopped a vessle in the water is surounded by a "barrier" of froth, and at night this froth is of a greenish color especially in the propwash.

Sh4 got this kinda right, but your mod should help.
pythos is offline   Reply With Quote
Old 12-13-07, 11:25 AM   #5
kriller2
Ace of the Deep
 
Join Date: Apr 2005
Posts: 1,227
Downloads: 19
Uploads: 0
Default

Great work Jaketoox! You have many talents. Have you heard anything from Leo? - I am abit worried, haven't heard anything for almost a week now.
Kriller
__________________
Kriller2.
[MODs]

Real Environment mod

and Pacific Enviroments 4 mod
kriller2 is offline   Reply With Quote
Old 12-13-07, 11:50 AM   #6
jaketoox
Gunner
 
Join Date: Jul 2007
Location: Finland
Posts: 93
Downloads: 5
Uploads: 0
Default

No i have not heard.......i guess (and hope) that he's just busy with ROW, and in good health..

Jake
jaketoox is offline   Reply With Quote
Old 12-13-07, 12:42 PM   #7
Wilcke
The Old Man
 
Join Date: Jan 2007
Posts: 1,441
Downloads: 234
Uploads: 0
Default

@ jaketoox

Thank you!
__________________
Wilcke


For the best in Fleet Boats go to: Submarine Sim Central. http://forum.kickinbak.com/index.php
Check out: A Brief Introduction to the Pacific Submarine War by Ducimus
http://www.subsim.com/radioroom/showthread.php?t=128185
Operation Monsun plus OMEGU, the #1 ATO Solution for SH4!

Signature Art by Gunfighter
Wilcke is offline   Reply With Quote
Old 12-13-07, 01:56 PM   #8
Anvart
Admiral
 
Join Date: Jan 2006
Location: Russia ®
Posts: 2,492
Downloads: 122
Uploads: 1
Default

"Patch v1.4:
...
CHANGES:
...
· Improvements to Water rendering
..."
Return to 1.3 ... ?
With my video card i have no "intensive glow" ...
__________________
Alex ®


Moses said: "Don't create yourself an idol"...

Last edited by Anvart; 12-13-07 at 02:08 PM.
Anvart is offline   Reply With Quote
Old 12-13-07, 02:52 PM   #9
ATR-42
Commodore
 
Join Date: Mar 2007
Location: Jersey Shore
Posts: 606
Downloads: 20
Uploads: 6
Default

Quote:
Originally Posted by Anvart
"Patch v1.4:
...
CHANGES:
...
· Improvements to Water rendering
..."
Return to 1.3 ... ?
With my video card i have no "intensive glow" ...
what card are you using Anvart? what are your general graphics settings?

i want to lose the brightly glowing outlines too but am reluctant to undo any water rendering changes as well....... tough call.
__________________

ATR-42 is offline   Reply With Quote
Old 12-13-07, 05:23 PM   #10
jaketoox
Gunner
 
Join Date: Jul 2007
Location: Finland
Posts: 93
Downloads: 5
Uploads: 0
Default

There are only few lines added by devs in this file compared to stock 1.3 file;those lines are also only differences between 1.3 and 1.4 for this file. What i changed there is marked as red. My opinion is that you will not lose any other water rendering improvments by using this mod... glow is not removed, only made it less visible.


//[ser] Increase opacity near intersections to make water edge more visible
float shallowfactor = saturate(1/(depthlength*40 + 1));
//[ser] Attempt a pseudo-antialiasing by decreasing opacity smoothly near zero-depth
shallowfactor = saturate(shallowfactor - pow(shallowfactor,4))*1.25;
depthlength = saturate(depthlength/maxDist + shallowfactor);



//[ser] Simulate foam at shallow depths
Color.xyz = Color.xyz*(1-shallowfactor) + shallowfactor*0.3;//*(AmbientColor.xyz + (AmbientColor.x+AmbientColor.y+AmbientColor.z))*0. 25*2


Jake
jaketoox is offline   Reply With Quote
Old 12-13-07, 06:06 PM   #11
Archie
Medic
 
Join Date: Jul 2007
Location: The South Pacific, No, Really.... The South Pacific
Posts: 165
Downloads: 73
Uploads: 0
Default

Thx Jake! Only problem is when I load this up , for some weird reason my FPS goes down, took it off and things are back to normal....... guess im stuck with the chernobyl effect around my subs
__________________

__________________
"I can imagine no more rewarding a career. And any man who may be asked in this century what he did to make his life worthwhile, I think can respond with a good deal of pride and satisfaction: 'I served in the United States Navy.'"
President John F. Kennedy,
Archie is offline   Reply With Quote
Old 12-13-07, 06:57 PM   #12
jaketoox
Gunner
 
Join Date: Jul 2007
Location: Finland
Posts: 93
Downloads: 5
Uploads: 0
Default

Quote:
Originally Posted by Archie
Thx Jake! Only problem is when I load this up , for some weird reason my FPS goes down, took it off and things are back to normal....... guess im stuck with the chernobyl effect around my subs
Wasn't it you who had the same problem with stock 1.3 file too? What is your hardware configuration (cpu, gfx card)? I'm running with P4 2.533 oc'd to 2.8, 1.2G memory and Nvidia 7600gt 512m, and have not FPS drop with this.

BTW is there anyone else having FPS drop??


Jake

Last edited by jaketoox; 12-13-07 at 07:49 PM.
jaketoox is offline   Reply With Quote
Old 12-13-07, 10:04 PM   #13
Archie
Medic
 
Join Date: Jul 2007
Location: The South Pacific, No, Really.... The South Pacific
Posts: 165
Downloads: 73
Uploads: 0
Default

Quote:
Originally Posted by jaketoox
Quote:
Originally Posted by Archie
Thx Jake! Only problem is when I load this up , for some weird reason my FPS goes down, took it off and things are back to normal....... guess im stuck with the chernobyl effect around my subs
Wasn't it you who had the same problem with stock 1.3 file too? What is your hardware configuration (cpu, gfx card)? I'm running with P4 2.533 oc'd to 2.8, 1.2G memory and Nvidia 7600gt 512m, and have not FPS drop with this.

BTW is there anyone else having FPS drop??


Jake
Nope not me, I have only struck this since patching to 1.4. I run a dual core e6600 with 4 Gig RAM and an 8800 Ultra card welded to an asus p5w deluxe mobo, I can even run FSX on med to high settings without it breaking too much of a sweat, so I don't believe its my hardware. Maybe my settings perhaps? ill play around with sh4 and see, perhaps its even a conflict with part of a mod i am running? I'll start a few test runs and see how we go.....

EDIT PART 1 : Ok, took out your ROW New Seafoam which I was using and put your fix back in and that seemed to do the trick, problem is, I really like your ROW Seafoam jake, so i'd rather have the radioactive glow now and again than lose the seafoam file, oh well....
__________________

__________________
"I can imagine no more rewarding a career. And any man who may be asked in this century what he did to make his life worthwhile, I think can respond with a good deal of pride and satisfaction: 'I served in the United States Navy.'"
President John F. Kennedy,

Last edited by Archie; 12-13-07 at 10:18 PM.
Archie is offline   Reply With Quote
Old 12-13-07, 10:38 PM   #14
jaketoox
Gunner
 
Join Date: Jul 2007
Location: Finland
Posts: 93
Downloads: 5
Uploads: 0
Default

..what comes to my mind now,when you have nvidia card...is there any chance that you have transparency AA setting on in your card's settings?...just a thought..


Jake
jaketoox is offline   Reply With Quote
Old 12-13-07, 10:58 PM   #15
Archie
Medic
 
Join Date: Jul 2007
Location: The South Pacific, No, Really.... The South Pacific
Posts: 165
Downloads: 73
Uploads: 0
Default

Quote:
Originally Posted by jaketoox
..what comes to my mind now,when you have nvidia card...is there any chance that you have transparency AA setting on in your card's settings?...just a thought..


Jake
I'll check hang on a minute.... Yes, set to 'Multisampling', should I turn it all off and let the application run the settings?
__________________

__________________
"I can imagine no more rewarding a career. And any man who may be asked in this century what he did to make his life worthwhile, I think can respond with a good deal of pride and satisfaction: 'I served in the United States Navy.'"
President John F. Kennedy,
Archie 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 04:44 AM.


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