Announcement

Collapse
No announcement yet.

[Community Project] WIP Weather & Ocean Water Shader

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • replied
    Found out it was a struct named the same in mac sdk as in a class. edit.
    Last edited by Nsomnia; 08-11-2016, 03:15 PM.

    Leave a comment:


  • replied
    Originally posted by TK-Master View Post
    Progress is been made on the GPU implementation.
    I'm currently out of town for vacation.. I can still work on my laptop but progress will most likely be slow for the next few weeks

    In the meantime, here's an (early wip) screen of a new water shader I'm working on, using a custom lighting model.

    Wow! It is looking AMAZING

    Leave a comment:


  • replied
    Originally posted by RedSaturnSix View Post
    Sorry I'm dumb, do you mean if i'm compiling the engine myself?
    Either or both. I got it working with 4.12.5 just with what you get from downloading, once I wanted to compile the engine and cook the content to give it to others then I spent time getting that part working which was a combination of troubles some on my end some with the plugin, after I fixed VS2015 I was still having troubles with the plugin but it was because I was trying to compile it through the launcher not VS2015. If you scroll up you can see a post from me where I am going through the process of getting this to work including some of the error messages.

    If you post your error or troubles I am sure we can help you get it working.

    To START: All you should have to do is download it from github, unzip it, and open up the example projects they give you, you should see water, boats, 3rd person character, ToD, and floating things in the default level it opens when you click Play in Editor or PIE. Did you get that far?

    My Hardware was a 580GTX with i7 3770 nothing special I upgraded the video card to a 1080GTX after I made that WIP video. So it worked on a 6 year old card.

    Do you have nvidia / intel ? are you on mac?

    Attached Files
    Last edited by Vexar; 08-11-2016, 01:01 AM.

    Leave a comment:


  • replied
    Originally posted by RedSaturnSix View Post
    I seem to be having problems migrating the contents of the project to my own project as on .12.5.

    Even the included maps fail to have the ocean plane present.

    Any ideas?
    You are copy-patsing rather than right click -> migrate or you are migrating to a folder other than /content/ root.

    Leave a comment:


  • replied
    Originally posted by Vexar View Post
    I have it working in 4.12.5 for both people looking for it and it compiles and deploys, cooks etc. After going through 40 pages of on this thread and searching I found that they say to place the plug in the project directory not the engine directory, I tried both but ended up having be in the project directory was the only way to get it compile and cook even though it did work in engine directory up to that point just fine. My process for getting this to work was to start one step at time, like all black box code from outside sources.

    First test is to make it works at all.

    Find and open up the example project from the ocean directory with out anything being touched. If this works you know that your hardware is fine and you have all the content you need, if this isn't working then adding it a project isn't going to help you something is missing most likely hardware related.

    Step two, test it on an example project from Epic, follow the directions they provide copy what you need, and make sure you can do that. This way if you are not breaking your working project and you can keep it clean.

    What I did at this point was try an learn how it worked from a content level, how to place a new object or the boat with out using the examples, looked at all the shaders, studied the time of day, and then decided I didnt want it. learned how to remove it with out breaking anything else which was easy just wanted to make sure they were not tied together in some complex way that force me to use the ToD feature.

    Once you pass this step, remove it from the engine side, copy just what you need over to your project you will find that it does contain out of date content that seems to have no purpose as they are little sloppy to clean it up. Just avoid using options where the shader is blank like anything with the label "old" etc. You will also find it has things related to the boat mp game, and UI, for me I just wanted the ocean so spending the time figure out how to avoid taking it all was worth it for me.

    One thing to note is if you turn on the shader profiler once you get it running, it is very expensive on the rendering side, it will be the most expensive item in your scene even if you lower it down the lowest (fewest features) settings.

    For a free plug in though its very pretty.
    Sorry I'm dumb, do you mean if i'm compiling the engine myself?

    Leave a comment:


  • replied
    I have it working in 4.12.5 for both people looking for it and it compiles and deploys, cooks etc. After going through 40 pages of on this thread and searching I found that they say to place the plug in the project directory not the engine directory, I tried both but ended up having be in the project directory was the only way to get it compile and cook even though it did work in engine directory up to that point just fine. My process for getting this to work was to start one step at time, like all black box code from outside sources.

    First test is to make it works at all.

    Find and open up the example project from the ocean directory with out anything being touched. If this works you know that your hardware is fine and you have all the content you need, if this isn't working then adding it a project isn't going to help you something is missing most likely hardware related.

    Step two, test it on an example project from Epic, follow the directions they provide copy what you need, and make sure you can do that. This way if you are not breaking your working project and you can keep it clean.

    What I did at this point was try an learn how it worked from a content level, how to place a new object or the boat with out using the examples, looked at all the shaders, studied the time of day, and then decided I didnt want it. learned how to remove it with out breaking anything else which was easy just wanted to make sure they were not tied together in some complex way that force me to use the ToD feature.

    Once you pass this step, remove it from the engine side, copy just what you need over to your project you will find that it does contain out of date content that seems to have no purpose as they are little sloppy to clean it up. Just avoid using options where the shader is blank like anything with the label "old" etc. You will also find it has things related to the boat mp game, and UI, for me I just wanted the ocean so spending the time figure out how to avoid taking it all was worth it for me.

    One thing to note is if you turn on the shader profiler once you get it running, it is very expensive on the rendering side, it will be the most expensive item in your scene even if you lower it down the lowest (fewest features) settings.

    For a free plug in though its very pretty.
    Last edited by Vexar; 08-09-2016, 05:43 PM.

    Leave a comment:


  • replied
    [MENTION=1127]TK-Master[/MENTION] , that's good to hear, and enjoy your vacation. If you intend on doing future projects, maybe a development road-map would be a neat option? Because we can follow your progress, and a lot of us are very eager to get our hands on the interactive surface.

    Leave a comment:


  • replied
    Quote Originally Posted by kickassitus View Post
    Hey guys, absolutely amazing work so far!

    Running into this error when source building UE4 with the ocean plugin, any help at all would be appreciated!

    1>------ Build started: Project: UE4, Configuration: Development_Editor x64 ------
    1> Building UnrealHeaderTool...
    1> Target is up to date.
    1> Parsing headers for UE4Editor
    1> C:/Users/*****/Documents/UnrealEngine-release/Engine/Plugins/Ocean/OceanPlugin/Source/OceanPlugin/Classes/OceanManager.h(18) : Property is exposed to the editor or blueprints but has no Category specified.
    1>Error : Failed to generate code for UE4Editor - error code: -1073741819 (-1073741819)
    1> UnrealHeaderTool failed for target 'UE4Editor' (platform: Win64, module info: C:\Users\*****\Documents\UnrealEngine-release\Engine\Intermediate\Build\Win64\UE4Editor\Development\UnrealHeaderTool.manifest).
    1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.MakeFile.Targets(38,5): error MSB3073: The command "..\..\Build\BatchFiles\Build.bat UE4Editor Win64 Development" exited with code -1.
    ========== Build: 0 succeeded, 1 failed, 2 up-to-date, 0 skipped ==========
    Thanks!
    Hey there,

    Which version of UE4 are you using, and which branch did you download from the GitHub page? I checked the code, line 18 is the declaration of a struct which doesn't use categories so I'm a little bit confused...

    If you downloaded the Master branch, try switching to TK's branch (or if you downloaded TK's branch, try downloading the Master) to see if that helps. Let me know if it won't work though!
    Having the same issue, we're on 4.12.5, and am using 4.12 from here: https://github.com/UE4-OceanProject/...ject/tree/4.12
    I copied the OceanPlugin folder to Engine\Plugins\, and then activated the plugin in our uproject file:
    Code:
    {
      "Name": "OceanPlugin",
      "Enabled": true
    },
    If anyone has a work around please post it, working on it myself now. Might be some sort of bug in 4.12 as detailed here: https://answers.unrealengine.com/que...ml?sort=oldest

    Edit: Solution was to put it in my games plugin folder, rather than the engine one. <your game>/Plugins
    The UHT auto generates a category based on the file name everywhere but the engine code, for whatever reason, including plugins.
    Last edited by Stefan3iii; 08-08-2016, 05:39 PM.

    Leave a comment:


  • replied
    I seem to be having problems migrating the contents of the project to my own project as on .12.5.

    Even the included maps fail to have the ocean plane present.

    Any ideas?

    Click image for larger version

Name:	Capture.PNG
Views:	1
Size:	23.0 KB
ID:	1113395
    Click image for larger version

Name:	Capture2.PNG
Views:	1
Size:	21.8 KB
ID:	1113396
    Click image for larger version

Name:	Capture3.PNG
Views:	1
Size:	23.2 KB
ID:	1113397

    Leave a comment:


  • replied
    This is a really great project. I am having an issue on my end, though. When I start playing the game, the resolution takes a major nose dive. Everything is incredibly aliased. What setting do I have that I need to change in order to fix this?

    Leave a comment:


  • replied
    hi
    great job this is awesom but just one question could you plz upload just the shader thats because i dont want the buyoncy and all that other stuff i only need the material because it will not be a playable area and that a very good material and that i have a very slow internet i couldn't download all the project (50 h ??)
    i need only the material

    Leave a comment:


  • replied
    Originally posted by Yoyomike View Post
    Any updates on the fluid surface? [MENTION=1127]TK-Master[/MENTION]?
    Progress is been made on the GPU implementation.
    I'm currently out of town for vacation.. I can still work on my laptop but progress will most likely be slow for the next few weeks

    In the meantime, here's an (early wip) screen of a new water shader I'm working on, using a custom lighting model.

    Leave a comment:


  • replied
    Any updates on the fluid surface? [MENTION=1127]TK-Master[/MENTION]?
    Last edited by Yoyomike; 08-08-2016, 12:38 AM.

    Leave a comment:


  • replied
    Hi guys great work again, I never heard back on my original questions but I created this WIP video a few weeks ago, its made more progress since this point but I figured you might want to see someone using the Ocean Plugin work. I am having trouble cooking / compiling in 4.12.5, just with a default FPS project and if I remove it it does work fine. This is the link to video and the error message.

    I tried having the plug in the project directory only, also in the engine directory only, and both now I am moving the source around the see if I can get it work that way.

    Video Project Tropic: WIP
    https://vimeo.com/175580647


    Error message after it starts to run:

    Plugin 'OceanPlugin' failed to load because module 'OceanPlugin' could not be found. Please ensure the plugin is properly installed, otherwise consider disabling it the plugin for this project.

    Now we know it works in the editor and I have been using it for a few weeks now, but this happens when I try to compile the project using development build, and it gets about 75% ready to run before the error.

    I tried reinstalled Visual Studio, only way I can get it to work is to remove the Ocean plugin from the directory, when I run the level it still works but no ocean is visible.


    Couple of the warnings:

    ProjectTropic: LogInitisplay: RandInit(-2083562135) SRandInit(-2083562133).LogModuleManager:Warning: ModuleManager: Module 'OceanPlugin' not found - its StaticallyLinkedModuleInitializers function is null.
    ProjectTropic: [2016.08.05-07.22.10:916][ 0]LogModuleManager:Warning: ModuleManager: Module 'OceanPlugin' not found - its StaticallyLinkedModuleInitializers function is null.


    Add++ I renamed the Ocean Ent in my level to vex_ocean is that going to create this trouble like I said before it all works fine in the editor just when I try to cook / compile / pak it do the errors happen.

    Add+++ I forgot to mention I am getting tired that I am doing this through the frontend launcher when it fails. The code does compile in the editor, and does seem to update the Ocean.dll.

    Add++++ So to get this fixed i had to run the process through VS2015, clean and rebuild everything, then it worked through the Project Launcher. I built shipping and dev no editor, etc all worked. The only thing the Project Launcher did was cook a few assets that had changed.


    My comments on the project as a non engineer:

    1) its a very cool free plugin.

    2) it will only work at this point on Windows, but with the new version of Unreal 4.13 coming with more support for AMD and Mac I am sure this will be update to work with it which will help me since some of my devs are on Macs.

    3) Separate the Time of Day and Ocean into 2 separate projects on githib, and have one combo branch for people that want both. I had no interest in time of day changing since I saw what it was like on the early versions of QuakeWars when I was working on that product. The game has to be built around and designed around that concept and if it is great but most games dont need it, I could create 3 post setups with different lighting on the same level and get every time of day I feel is worth having a player play.

    4) You guys have made deployment harder by including all the great samples, I love the samples and used them to learn how you setup your tests so I could apply it to my project but when it came time to I had to go through and remove every asset manually to speed up my cooking time and reduce my overall memory footprint. I would make it clearer which items are the critical components for each part ocean / time of day and which are the extras I did this through trial and error and removed all the time of day I had already mod'd the default skybox to fit the needs of my project, for instance in the movie you can see I have a big sun and the over rides didnt work to do that I had to into BP to scale it from the original source.

    My perfect setup would be to strip out all the models, textures, materials not required for the base ocean, stack the time of day on top base only no content, then the full kit with all the samples for both would be my perfect setup, seems like you are going in that direction.

    5) Next time you are doing a large pass clean up and get rid of all old stuff that isnt required anymore, some of the those assets are land mines that cause people to have troubles.

    Feature Requests:

    Wet Sand - Allow the user to set a sand color and add a wetness values and drying values based in the (full system) time of day (how hot is the sun? how fast is the sand drying after the waves hit shore?) This would have made me want to use the Time of Day feature.
    Last edited by Vexar; 08-06-2016, 08:30 PM.

    Leave a comment:


  • replied
    came the version 4.13 of unreal engine

    Leave a comment:

Working...
X