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

Reply
 
Thread Tools Display Modes
Old 10-05-13, 11:40 AM   #1
brett25
Seasoned Skipper
 
Join Date: Mar 2008
Location: Oakland CA, USA
Posts: 736
Downloads: 570
Uploads: 0
Default

not sure if this link will help, these clouds are for unity engine, but may be adaptable:

https://www.assetstore.unity3d.com/#/content/4027
brett25 is offline   Reply With Quote
Old 10-05-13, 01:23 PM   #2
Rubini
Ocean Warrior
 
Join Date: May 2005
Location: São Paulo Brazil
Posts: 2,728
Downloads: 149
Uploads: 0
Default

Quote:
Originally Posted by brett25 View Post
not sure if this link will help, these clouds are for unity engine, but may be adaptable:

https://www.assetstore.unity3d.com/#/content/4027
Thanks mate,
But i guess not, and even if possible to adapt them I don´t have the tools and skills to do that. They are for another engine and uses shaders which are absent on sh3.
__________________
One gamer's must-have mod is another gamer's waste of time.
-Sailor Steve
Rubini is offline   Reply With Quote
Old 10-05-13, 06:54 PM   #3
fitzcarraldo
Argentinian Skipper
 
fitzcarraldo's Avatar
 
Join Date: Jul 2009
Location: Somewhere between Buenos Aires and the Bungo Suido
Posts: 5,381
Downloads: 3484
Uploads: 0


Default

What about SH5 clouds?

Regards.

Fitzcarraldo
__________________



My subject is War, and the pity of War. The Poetry is in the pity - Wilfred Owen.
fitzcarraldo is offline   Reply With Quote
Old 10-05-13, 11:31 PM   #4
Rubini
Ocean Warrior
 
Join Date: May 2005
Location: São Paulo Brazil
Posts: 2,728
Downloads: 149
Uploads: 0
Default

Quote:
Originally Posted by fitzcarraldo View Post
What about SH5 clouds?

Regards.

Fitzcarraldo
They are beautiful...and with shadows!
But AFAIK they are/have shaders... or am i wrong?
__________________
One gamer's must-have mod is another gamer's waste of time.
-Sailor Steve
Rubini is offline   Reply With Quote
Old 10-07-13, 09:04 AM   #5
Rickster1
Chief
 
Join Date: Jul 2005
Posts: 318
Downloads: 508
Uploads: 0
Default More better clouds

I am looking forward to this mod, well done
Rickster1 is offline   Reply With Quote
Old 10-08-13, 05:27 PM   #6
Rubini
Ocean Warrior
 
Join Date: May 2005
Location: São Paulo Brazil
Posts: 2,728
Downloads: 149
Uploads: 0
Default

Update 08/10/13:

- today i made good progress:

1. Finally achieved to control the amount of reflexion of the clouds at any degree. Hundreds of trying and error here.
2. Although yet using particles, now we have "real" clouds that moves along the sky
3. Although yet using particles, now we have "real" clouds that don´t vanish when looking through optics or zoom.
__________________
One gamer's must-have mod is another gamer's waste of time.
-Sailor Steve
Rubini is offline   Reply With Quote
Old 10-08-13, 05:36 PM   #7
desertstriker
Eternal Patrol
 
Join Date: May 2012
Location: mod soup bar and grill
Posts: 1,683
Downloads: 998
Uploads: 0
Default

I don't know what else to say but
desertstriker is offline   Reply With Quote
Old 10-14-13, 07:01 PM   #8
Seeadler
Pacific Aces Dev Team
 
Join Date: Mar 2001
Location: Northern Germany
Posts: 1,096
Downloads: 169
Uploads: 0


Default

Quote:
Originally Posted by Rubini View Post
They are for another engine and uses shaders which are absent on sh3.
SH3 also uses shaders (shader model 1.1) but unlike SH4/5 the shaders are coded in the executable. I have a special dll that decodes these shaders and writes it to external shader files but there are only pixel shaders for ocean, terrain, shadow and reflections, not for clouds.
__________________
--
Vapor-ware is always easier to sell because there's no limit what it can do!
Seeadler is offline   Reply With Quote
Old 10-14-13, 08:20 PM   #9
Rubini
Ocean Warrior
 
Join Date: May 2005
Location: São Paulo Brazil
Posts: 2,728
Downloads: 149
Uploads: 0
Default

Quote:
Originally Posted by Seeadler View Post
SH3 also uses shaders (shader model 1.1) but unlike SH4/5 the shaders are coded in the executable. I have a special dll that decodes these shaders and writes it to external shader files but there are only pixel shaders for ocean, terrain, shadow and reflections, not for clouds.
Hi Seeadler,

Thanks for the clarification! And, by the way, I have worked with shadows sometime ago ... and it works but they aren´t casted on the ocean surface (the big main problem), i tried everthing that I could, then i give up. Perhaps with pixel shaders we could make something about?
__________________
One gamer's must-have mod is another gamer's waste of time.
-Sailor Steve
Rubini is offline   Reply With Quote
Old 10-14-13, 09:52 PM   #10
Rubini
Ocean Warrior
 
Join Date: May 2005
Location: São Paulo Brazil
Posts: 2,728
Downloads: 149
Uploads: 0
Default

Ok!
First release is up on the first post!

Moderators: Can you please change that [WIP] for a [REL]? Thanks!
__________________
One gamer's must-have mod is another gamer's waste of time.
-Sailor Steve
Rubini is offline   Reply With Quote
Old 10-15-13, 01:55 AM   #11
sublynx
Sea Lord
 
Join Date: Mar 2011
Location: In the conning tower of my VIIC scanning the sea through the periscope
Posts: 1,682
Downloads: 173
Uploads: 7
Default

Downloading, I'm really curious and hoping this will work in my mod soup. I think NYGM+MEP is a 20 km environment, so it might not work that well in my rig, but who knows.

Thank you Rubini
__________________
[SIGPIC][/SIGPIC]
NYGM+H.sie v16+Stiebler 4C+MaGui WS
sublynx is offline   Reply With Quote
Old 10-15-13, 06:16 AM   #12
Kpt. Lehmann
GWX Project Director
 
Kpt. Lehmann's Avatar
 
Join Date: Jul 2005
Location: The Republic of Texas
Posts: 7,086
Downloads: 132
Uploads: 0


Default

Thank you for your hard work, Dr, Rubini. You are the best!
__________________
www.thegreywolves.com
All you need is good men. - Heinrich Lehmann-Willenbrock
Kpt. Lehmann is offline   Reply With Quote
Old 10-15-13, 12:30 PM   #13
makman94
Hellas
 
Join Date: Jul 2008
Posts: 2,294
Downloads: 184
Uploads: 7


Default

Quote:
Originally Posted by Seeadler View Post
SH3 also uses shaders (shader model 1.1) but unlike SH4/5 the shaders are coded in the executable. I have a special dll that decodes these shaders and writes it to external shader files but there are only pixel shaders for ocean, terrain, shadow and reflections, not for clouds.
Ahoy Seeadler ,

you mean that with your dll we can have more than one shaders on the water at the same time ? if so...then i think that we will be able to create fantastic waters for sh3.
can you upload it for testing ?
__________________
Knowledge is the only thing that nobody can ever take from you...



Mediafire page:http://www.mediafire.com/folder/da50.../Makman94_Mods
makman94 is offline   Reply With Quote
Old 10-15-13, 01:48 PM   #14
Seeadler
Pacific Aces Dev Team
 
Join Date: Mar 2001
Location: Northern Germany
Posts: 1,096
Downloads: 169
Uploads: 0


Default

Quote:
Originally Posted by makman94 View Post
you mean that with your dll we can have more than one shaders on the water at the same time?
No, my widescreen d3d9.dll decodes at runtime the vertex/pixel shader from memory and writes it as shader assembly code into txt-files. Once these txt-files are available, the SH3 engine uses the shader code from these files and not the hard-coded. At current work status only the shader instructions can be changed by editing the txt-file, no new variables or textures can be passed every (x) frame to the shaders.

the SH3 ocean pixel shader for example:
Code:
    ps_1_1
    tex t0                            
    texbem t1, t0                  
    mad t1, t1, c0.w, c1.w     
    dp3_sat r0, v0_bx2, t0
    lrp r0.xyz, r0.w, c0, c1
    lrp r0.xyz, v0.w, t1, r0
  + mov r0.w, t0.w
// approximately 6 instruction slots used (2 texture, 4 arithmetic)
And yet there is a shader for clouds but only a vertex shader. I assume it is used to calculate the mapping of cloud textures on the 3D cloud dome.
__________________
--
Vapor-ware is always easier to sell because there's no limit what it can do!
Seeadler is offline   Reply With Quote
Old 10-15-13, 02:06 PM   #15
jaxa
The Old Man
 
Join Date: Mar 2005
Location: Poland
Posts: 1,487
Downloads: 418
Uploads: 0
Default

Wow, the game looks fantastic now.
Good work Rubini, it's the next mod for my "must have" mods set.
__________________
GWX Knight's Cross Edition v2.5
jaxa 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:06 AM.


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.