Download

[Community Project] WIP Weather & Ocean Water Shader

Did you download the latest version posted just a coupledays ago to github by DotCam? The -1 exit code makes me tihnk source code error, weird bugs usually exit with -3. try temporarily removing /plugins/oceanplugin/ and then regenerate project files, and see if a clean rebuild works. Also make sure your games core module is in order spelling etc.

I got it working sorry I totally didnt realize I was just doing a development build and not a development editor build!:confused:

As always thanx!

The ocean looks so real I feel like I could touch it, amazing work

Hi All,

Just wanted to thank everyone in this thread and the original authors for their development, contribution, and expert skill producing excellent wave motion and effects, and then sharing that information with others in this community freely. Well I’m new to Unreal4 from Arma3, and was noticing a lack of shared information especially in relation to free assets and weapons etc until I saw this thread. I was also just about to uninstall Unreal4. The idea of a freely made Community Project/GAME (eg a Worldmap) that we can all attribute to sounds like a great idea. I can only image an amazing FPS game like Arma3 on Unreal4 that is visually perfect in all aspects, a lifelong Project that everyone could play and enjoy, make Mods, etc. Even your children could inherit/play. Sharing of profits and contribution should come at the end of the Project rather than peace meal market sharing of selected assets. Food for thought? Anyone interested in such a Large Community Project just let me know.

Cheers Dex

It’s “skydome”… I’ve done everything you’ve said but with no success. However I was able to use your project as a base for my own. That worked out nicely untily yesterday, when the same issue appeared out of nowhere.
c1b835cef83ebb4309b9d62c8e8f0d27b34b3aef.jpeg

See that the left side reflectsa really bright part of the sky that simply isn’t there… I’ll try to dig a little deeper after the winery challenge deadline. Back to Epic’s lame water for this… :frowning:
I’ll stick to the skydome! :slight_smile:

I looked around a bit, but couldn’t see how to enable the infinite ocean feature, anyone know?

What new feature is this? It really bugged me when I found out reflection captures were useless with a fully dynamic setup.

Hey DotCam, I’m just curious to know what will be the next thing you will change on the water (or sky or whatever). Continue on this way and have a good day :D!

I just downloaded this and started messing with it a bit.

I’m currently working on adding adaptive tessellation LOD, depth bias wave and undulation height masking (smaller to no waves/undulation at the shoreline) as well as a few other rendering optimizations to the water materials.

I will let you know how it turns out and share with the project manager.

Can’t wait to see your improvements CharlestonS!

So I’ve been trying to get this sweet looking ocean working in my project, and the instructions in the wiki seem simple enough, but I get as far as Step #5: dropping BP_Ocean into my map, and the editor wont let me? If I try to edit BP_Ocean, I get: “Blueprint could not be loaded because it derives from an invalid class. Check to make sure the parent class for this blueprint hasn’t been removed!”

The example maps work fine, but I would really rather avoid having to rebuild everything else on top of one of them.

@WormSlayer - do you have the plugin in your plugins folder and everything?

Turns out I managed to misspell “Plugins” when I made the folder, working just fine now thanks XD

Plugging my own assets into this for Pirates http://www.moddb.com/games/pirates

DotCam, will need to get with you when you’re back so we can collaborate on some updates. :slight_smile:

I’m sure its just me being stupid again, but I cant seem to get anything to float on my ocean? I’ve tried dropping in the example boat blueprint, adding test points and set the buoyancy variables as suggested in this thread, and I’ve copied and pasted the boats from the example maps, but they all just fall through the surface like it isnt there?

This looks VERY cool and is definitely going into my game. Wow!

Love the work, I can’t thank you all enough for this contribution. I’m having issues integrating it with my project though. I followed the instructions on the wiki exactly. I got the project to work just fine as a standalone, but after I follow all of the steps, neither the ocean shader or the sky compile. I’m at a loss. I’m just left with the grey plane infinitely. Equally strange, whenever I attempt to open a material I can’t seem to open its master material. Instead, for many materials it treats it like an instance material. I’m able to open M_Ocean_Depth but get the following errors
Error [SM5] (Node CollectionParameter) CollectionParameter has invalid Collection!
Error [SM5] Missing Material Function
Error [SM5] (Node TextureObjectParameter) Param Tex Object> Requires valid texture

Here are the steps I followed:
Downloaded both the full 4.9 project from github and the plugin.
Extracted the plugin to the root folder of my project
Copied everything from the content folder of OceanProject into an “Ocean” folder in the content folder of my own project
Opened both projects
Waited for everything to compile in OceanProject, didn’t take long. I deleted all the atmospheics and lighting in the starter map on my project.
I copied and pasted all the important ocean/sky features from the world outliner into my project.
Nothing happened. So i saw the BP_Ocean didnt have meshes or materials assigned to it. I found all the correct ones and just had a giant grey plane that refuses to attempt to compile.
Any help would be appreciated.

EDIT: Wow I always end up spending hours trying to figure something out before coming here for help, only to find the solution moments later. Turns out copying the content into its own folder made things a bit ****y. So don’t do that, just copy everything right into the content folder.

Hi,

I’ve been playing with the 4.9 version for a few days now and I must say this project is just awesome! Congrats! :wink:

The “empty” map, containing only the ocean, sky and ground is really helpful to duplicate the environment in another project.
Everything went well for the ocean but I have some trouble with the fish manager: when there is a Fish Manager BP in a map of another project than the Ocean demo the editor crashes as soon as I run the game. Someone has this issue? (note: it works well in the fish map of the Ocean Demo though…).

Beside I have 2 questions:

  • is there a way to know that the camera is underwater?
    My aim is to trigger the underwater post-process as well as some other stuff as accurately as possible (when the camera goes through a wave for instance).
    I tried the events On Actor Begin and End Overlaps but they do not seem to generate any message.

-when the time of the day is changing in the Empty map, the SkyLight is not moving accordingly and continue to generate a high sun reflexion on the surface of the ocean. In some cases this reflexion is not event related to the sun light direction. Is there a way to rotate it and to make it follow the sun?

Thanks a lot

A “tiny” request, I think it would make the sky even more awesome…

Is it possible for the sky color to be HDR? I’ve bumped the color curves way up, but it doesn’t seem to be HDR, lowering exposure results in a grey and not a blue sky. I could be doing sth wrong or it may be an engine limitation of some sort, but I believe it would be an improvement.
It works on emissive materials it seems…

Hi, Could you help me with another issue?
I would like to create a static light blueprint, a light which will turned on only if the time is in rang of 18 - 5 or any other period of time, or when sunrise or sunset positions, i think you got my point…
Please help me to do that, what nodes should i create in construction script
(get all actors of clas - get - default hour, get current minute, in range xx- xx branch set intensity) something like that, but it is not working.
Please