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

    Originally posted by tsnodgrass View Post
    This project is amazing! Really enjoying the results so far !

    Few things that I noticed, I apologize if this has been mentioned/discussed before but I tried to search through the 30+ pages and couldn't find anything relating to the following issues:

    -Our "cloud" light function that we have been using on our map doesn't play well with the ocean, it seems to get some extreme stretching/artifacting going on when it's applied to any directional light in the map. Granted, we may be moving to a different time of day cycle system with volumetric clouds that cast shadows in the future, but I was curious if anyone has had similar issues with the setup? This was occurring with or without the current sky dome that is implemented in the island test map, so it feels like it's something that has to do with the directional light and water blueprint and not related to the sky blueprint.

    -The nightsky seems to have strange issues with the exponential heightfog in our map, where it will fade in and out depending upon the players viewing angle, if I look towards the ground it will fade away, and look back up it will return. It seems that this is being caused by the light shaft occlusion setting on the directional light. Thoughts?"


    Additional note: Would be awesome to have the stars also animate during the night cycle, I saw this functionality in the TruSky Plugin and it looked really cool even if it is pretty tough to see. I didn't see this on the trello page but figured I would mention it in case it wasn't planned yet.

    Keep up the GREAT work guys! Looking forward to seeing where this project goes
    Hey, glad to hear you are finding it useful!

    Thank you for those suggestions! I am partway through a total re-write of the skydome that will hopefully be ready for the full release of UE 4.12 (the dynamic sky part at least, weather will take a bit longer), with accuracy being the main focus. Rotating the stars should be easy enough, and it would add a lot to the realism. I will be working on volumetric clouds next, currently finalizing the phases of the moon calculations.

    The milky way is too bright on the stars texture I'm using, you have to be in the middle of nowhere to even see the milky way at night, light pollution makes it difficult to see. If you, or anyone else reading this, knows of a better texture please let me know! For now I will try to adjust it in photoshop.

    The light function issue might be caused by the underwater caustics light function (in BP_Underwater). I will test it out to confirm on my end, but overlapping light functions might not work right.

    I'll get back to you after I test it out and see what's going on.
    Free Community Ocean & Sky Project || Join us on Discord! || Trello Roadmap

    Comment


      Any suggestions on how to block out the water inside a small boat?

      Comment


        Originally posted by nate1380 View Post
        Any suggestions on how to block out the water inside a small boat?
        There's a new map for doing this see my posts a few pages back for the actual implementation
        Tek LLC a personal Candaian Company running BlenderTek & UnrealTek is currently looking for help to bring back submarine simulator gaming with a new genre of sub sims: Cold War! (1945-1991) Operation: Trident SubSim Dev Diary Thread - Donations

        Comment


          Originally posted by Nsomnia View Post
          There's a new map for doing this see my posts a few pages back for the actual implementation
          Hmmm, I took a look at the capsule mask implementation. If I'm understanding it correctly it seems like it would only work for tracking one object? Instead, would it be possible to somehow use the info on where the foam edges of the water are being drawn to mask out the appropriate area? So if we have foam edges of the water close to/encompassing one another, then mask out that inside area.....hope I'm making sense.

          Comment


            Originally posted by nate1380 View Post
            Hmmm, I took a look at the capsule mask implementation. If I'm understanding it correctly it seems like it would only work for tracking one object? Instead, would it be possible to somehow use the info on where the foam edges of the water are being drawn to mask out the appropriate area? So if we have foam edges of the water close to/encompassing one another, then mask out that inside area.....hope I'm making sense.

            That's my goal eventually and in sure a lot of people's but no community implementation exists yet. Fancy bpfunclib nodes and custom material nodes are needed most likely.
            Tek LLC a personal Candaian Company running BlenderTek & UnrealTek is currently looking for help to bring back submarine simulator gaming with a new genre of sub sims: Cold War! (1945-1991) Operation: Trident SubSim Dev Diary Thread - Donations

            Comment


              Originally posted by Nsomnia View Post
              That's my goal eventually and in sure a lot of people's but no community implementation exists yet. Fancy bpfunclib nodes and custom material nodes are needed most likely.
              I'm going to take a look at this example and see if I can adapt it to something that might work: https://docs.unrealengine.com/latest...nearestsurface

              Comment


                First off this looks amazing and I'm excited to use it. Second sorry but I'm still kind of new to using Unreal. I opened the project that came with this and then tried to reproduce the water in my own level but could not get it to work correctly. Does anyone have a tutorial or video kind of walking through or explaining any of the process. Once again sorry but trying to learn
                Thank in advance.

                Comment


                  Severity Code Description Project File Line
                  Error C2664 'void TBaseDynamicMulticastDelegate<FWeakObjectPtr,void,UPrimitiveComponent *,AActor *,UPrimitiveComponent *,int32>::__Internal_AddDynamic<AFlockFish>(UserClass *,void (__cdecl AFlockFish::* )(UPrimitiveComponent *,AActor *,UPrimitiveComponent *,int32),FName)': cannot convert argument 2 from 'void (__cdecl AFlockFish::* )(AActor *,UPrimitiveComponent *,int32)' to 'void (__cdecl AFlockFish::* )(UPrimitiveComponent *,AActor *,UPrimitiveComponent *,int32)' ZvS_Alpha D:\Projects_Unreal4\Outbreak\Plugins\OceanPlugin\Source\OceanPlugin\Private\Fish\FlockFish.cpp 38
                  I had to comment

                  FishInteractionSphere->OnComponentBeginOverlap.AddDynamic(this, &AFlockFish::OnBeginOverlap);
                  FishInteractionSphere->OnComponentEndOverlap.AddDynamic(this, &AFlockFish::OnEndOverlap);
                  in order to compile it again under 4.12

                  Comment


                    Click image for larger version

Name:	changes.png
Views:	1
Size:	27.8 KB
ID:	1107546
                    you need to change the signature of the Overlap functions, like shown in the image as an example

                    from the release notes:

                    "PrimitiveComponent delegates OnComponentHit, OnComponentBegin/EndOverlap, and OnComponentWake/Sleep have all had a new parameter added to allow binders to know which Primitive Component the event occurred on in cases where a single event entry point is bound to multiple Primitive Components."
                    Last edited by LeFxGuy; 06-02-2016, 06:26 AM.
                    Guido Lein
                    Technical Artist - LeFx www.lefx.de

                    Comment


                      Originally posted by LeFxGuy View Post
                      [ATTACH=CONFIG]95801[/ATTACH]
                      you need to change the signature of the Overlap functions, like shown in the image as an example

                      from the release notes:

                      "PrimitiveComponent delegates OnComponentHit, OnComponentBegin/EndOverlap, and OnComponentWake/Sleep have all had a new parameter added to allow binders to know which Primitive Component the event occurred on in cases where a single event entry point is bound to multiple Primitive Components."
                      As I mentioned in the PM, thank you for looking into this!

                      -----------------------------
                      [MENTION=59935]All[/MENTION]

                      I will be recompiling the plugin with these (and some other) fixes and push a proper 4.12 release branch asap!
                      Free Community Ocean & Sky Project || Join us on Discord! || Trello Roadmap

                      Comment


                        Originally posted by GeneShogo View Post
                        First off this looks amazing and I'm excited to use it. Second sorry but I'm still kind of new to using Unreal. I opened the project that came with this and then tried to reproduce the water in my own level but could not get it to work correctly. Does anyone have a tutorial or video kind of walking through or explaining any of the process. Once again sorry but trying to learn
                        Thank in advance.
                        We made a wiki post about that a while back, here's how to do it:
                        https://github.com/UE4-OceanProject/...o-your-project
                        Free Community Ocean & Sky Project || Join us on Discord! || Trello Roadmap

                        Comment


                          Dont forget to enabled the settings in project settings for planar reflections in 4.12 guys.

                          took me just under an hour to update to 4.12, change project over, and recompile source code + ocean plugin + victory plugin. No snags.
                          Tek LLC a personal Candaian Company running BlenderTek & UnrealTek is currently looking for help to bring back submarine simulator gaming with a new genre of sub sims: Cold War! (1945-1991) Operation: Trident SubSim Dev Diary Thread - Donations

                          Comment


                            PACKAGE ISSUE

                            I'm using 4.11.2.

                            I have a level with Ocean_BP & Underwater_BP going on. It runs fine in the editor. It packages properly. But the packaged file crashes once I load the level with the Ocean BP in it. Nothing else in the level is causing any crashes - it seems to be directly related to the Ocean BP.

                            Any thoughts?
                            Last edited by dorklord_666; 06-02-2016, 03:42 PM.
                            vr and new media installations
                            www.samuelwalker.xyz

                            Comment


                              Originally posted by DotCam View Post
                              We made a wiki post about that a while back, here's how to do it:
                              https://github.com/UE4-OceanProject/...o-your-project
                              Thank you very much DotCam!!

                              Comment


                                upgrade to version 4.12 please

                                Comment

                                Working...
                                X