GithubHelp home page GithubHelp logo

Comments (11)

daleeidd avatar daleeidd commented on May 28, 2024 1

Thanks. I was able to reproduce the issue. It is related to camera movement and not rotation. You need to move back and forth at an angle. The artefact is directional so depending on angle will determine the nature of it. Likely an artefact at the LOD transition. I will look into it.

from crest.

daleeidd avatar daleeidd commented on May 28, 2024 1

Fixed for next release. This was streaking due to clamped texture sampling. The previous anti-streaking measure was not effective enough so implemented something more solid.

Thank you for the detailed report.

from crest.

daleeidd avatar daleeidd commented on May 28, 2024 1

Thanks. I was able to reproduce. I just needed to move faster.

from crest.

daleeidd avatar daleeidd commented on May 28, 2024 1

Alrighty. I reverted the previous fix made for 4.18 as this introduced reflections at the LOD borders as you saw. Instead I have feathered the dynamic wave inputs to reduce streaking.

LMKWYT. Be aware though there will be some streaking/reflections as it is not possible to eliminate both as far as I can see. What we're looking for is an improvement overall.

New branch: fix-dynamic-waves-edge-reflections.

from crest.

daleeidd avatar daleeidd commented on May 28, 2024 1

Thanks!

from crest.

Revmatek avatar Revmatek commented on May 28, 2024

@daleeidd

I patched from the commit that fixed this and played around with it for a while, it seems to have fixed the initial streaking problem. I am noticing some very similar streaking when zooming in and / out when rotating the camera as the LODs change. I am not positive it is from this change or if it is the same problem but it is worth looking at. If you want me to make a new issue for this that is fine.

Its very easy to see in latest if you set the Wake10m size to max (40) and move the camera out of the WakeRig and increase the speed, then zoom in and out to the point where the foam is not visible

For reference:
image

Streaking in latest:
image
image
image
image

Seen in game when zooming in and out while moving the camera:
image

It seems like as the wakes generate they start to form streaks near the edges of the tiles. Once this starts to happen you can zoom in and out or move the camera in general and it will start to magnify the issue:
image

Seems to happen whenever foam appears and changes when the camera moves in various ways (spinning boat in circles here to create foam constantly):

image
image

One more key piece of info, the foam fade rate. It very hard to see at 0.1, I think I have mine set to 0.5, I set it to 1 in the BoatWakeScene and was able to get very similar behavior to what I see in game:

image
This was produce by observing the streak and zooming in and out
image

from crest.

daleeidd avatar daleeidd commented on May 28, 2024

Thanks. Looks like it is a problem with Dynamic Waves rather than foam. I struggled to reproduce it. But I have a potential fix if you're willing to test it? fix-dynamic-waves-edge-artefacts

from crest.

Revmatek avatar Revmatek commented on May 28, 2024

Thanks. Looks like it is a problem with Dynamic Waves rather than foam. I struggled to reproduce it. But I have a potential fix if you're willing to test it? fix-dynamic-waves-edge-artefacts

Yes, I will take a look shortly.

from crest.

Revmatek avatar Revmatek commented on May 28, 2024

Thanks. Looks like it is a problem with Dynamic Waves rather than foam. I struggled to reproduce it. But I have a potential fix if you're willing to test it? fix-dynamic-waves-edge-artefacts

Yes, I will take a look shortly.

I do still see the problem with these changes:
image

I am able to reproduce this in latest with the following steps:

  1. Open "BoatWakes" scene
  2. Set the "Foam Fade Rate" to 0 on the ocean renderer
  3. Move the DemoCamera to the root of the scene so that it is no longer moving with the WakeRig
  4. Zoom out:
image
  1. Zoom in to random portions of the wake
image
  1. Repeat 4-5 and move / rotated the camera until you start to see corner like wakes appearing
  2. Once you see the corner like wake, zoom in and out on it very slightly close up to see the corner become more defined / streaked
image image

Stats if helpful:
image

This last one I tried with the patch on latest just to make sure:
image

from crest.

Revmatek avatar Revmatek commented on May 28, 2024

Here are some video steps, hard to describe.

repro1.mp4

It seems easier to see with the wave spectrum zeroed out:
image

repro2.mp4

from crest.

Revmatek avatar Revmatek commented on May 28, 2024

Alrighty. I reverted the previous fix made for 4.18 as this introduced reflections at the LOD borders as you saw. Instead I have feathered the dynamic wave inputs to reduce streaking.

LMKWYT. Be aware though there will be some streaking/reflections as it is not possible to eliminate both as far as I can see. What we're looking for is an improvement overall.

New branch: fix-dynamic-waves-edge-reflections.

I think this looks great! Definitely an overall improvement. I don't see any streaking with normal camera movement / rotating. Corner issue is gone. I did see a very minor streak when impacting the water with a plane (creating a large deformation) and rotating the camera at the same time but I can live with that. I will keep an eye out for similar artifacts in the future and let you know, but this seems good to me.

from crest.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.