Comments (11)
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.
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.
Thanks. I was able to reproduce. I just needed to move faster.
from crest.
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.
Thanks!
from crest.
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
Seen in game when zooming in and out while moving the camera:
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:
Seems to happen whenever foam appears and changes when the camera moves in various ways (spinning boat in circles here to create foam constantly):
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:
This was produce by observing the streak and zooming in and out
from crest.
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.
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.
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:
I am able to reproduce this in latest with the following steps:
- Open "BoatWakes" scene
- Set the "Foam Fade Rate" to 0 on the ocean renderer
- Move the DemoCamera to the root of the scene so that it is no longer moving with the WakeRig
- Zoom out:
![image](https://private-user-images.githubusercontent.com/114962753/268452398-2f13eaea-f066-4231-b9a9-98e222c962c1.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjE0NzkyODMsIm5iZiI6MTcyMTQ3ODk4MywicGF0aCI6Ii8xMTQ5NjI3NTMvMjY4NDUyMzk4LTJmMTNlYWVhLWYwNjYtNDIzMS1iOWE5LTk4ZTIyMmM5NjJjMS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNzIwJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDcyMFQxMjM2MjNaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0wMmMxMDI3YjQ5ZDA2MDIzMWE4ZDQ4OWMzM2ZhMzAzYjE5OWMyODk1N2JkMjIzOTYyZDE5MzliOTc1OTJjYmVjJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.oGXjfBRqUFQWKFlfy8gUQyr3OVrbhmA-rqUWZpa0vCg)
- Zoom in to random portions of the wake
![image](https://private-user-images.githubusercontent.com/114962753/268452465-d263e29d-69a0-4792-9438-6d9dd92f0955.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjE0NzkyODMsIm5iZiI6MTcyMTQ3ODk4MywicGF0aCI6Ii8xMTQ5NjI3NTMvMjY4NDUyNDY1LWQyNjNlMjlkLTY5YTAtNDc5Mi05NDM4LTZkOWRkOTJmMDk1NS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNzIwJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDcyMFQxMjM2MjNaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT01OTE5NmM1YTgyMzdkOTcxM2MzZmU2ZDYzNjk2ZTZkZTZkMzBiN2IxNzhkYTU4MGFlNWVkYTQzZDk4YjVmYzZkJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.o5hKBRsqweF59jpNB_nIXDv5l7etedXTX5TtIUhiYMk)
- Repeat 4-5 and move / rotated the camera until you start to see corner like wakes appearing
- 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](https://private-user-images.githubusercontent.com/114962753/268452567-d5bf9383-0d52-4d50-80ea-4ee5d66fc1e0.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjE0NzkyODMsIm5iZiI6MTcyMTQ3ODk4MywicGF0aCI6Ii8xMTQ5NjI3NTMvMjY4NDUyNTY3LWQ1YmY5MzgzLTBkNTItNGQ1MC04MGVhLTRlZTVkNjZmYzFlMC5wbmc_WC1B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Q3MTZkODY0MmI0NTRkMjU1OGIyMzhhNDBiNmFhYWUwJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.RYoMLMpgw8ctcJ18eLfn1KYfHCcKxTceinpWYVpuV9s)
This last one I tried with the patch on latest just to make sure:
from crest.
Here are some video steps, hard to describe.
repro1.mp4
It seems easier to see with the wave spectrum zeroed out:
repro2.mp4
from crest.
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)
- Delayed LOD / tile enabling when using large clipping areas HOT 5
- Depth Cache not populated - Exported Image is Black HOT 8
- Water interaction is not visible when moving camera away from the sea level HOT 1
- Underwater broken with XR multi-pass rendering HOT 1
- No caustics, no shadow data and/or constant shadowing on iOS
- Error of Does not exist some Classes. HOT 1
- Sporadic gaps / precision errors in tiles. HOT 37
- SphereWaterInteraction and RegisterDynamicWavesInput do not work correctly inside a flow area HOT 11
- Activating flow in the material when oceanrenderer is running does only work in editor HOT 2
- FindObjectsSortMode HOT 3
- Enable Shader API does not function without changing underwater appearance HOT 20
- Enable Shader API causes artifacts HOT 4
- Planar Reflections issue with non-standard shaders using transparency HOT 13
- Premature tile culling during extreme camera maneuvers above the ocean HOT 1
- Portal feature broken with Unity Recorder 360 View
- Directional lights that are not active on any layer change the color of subsurface scattering HOT 2
- Underwater rendering delayed with whirlpools HOT 1
- [BUG] Seems spawning a prefab with any ocean is making the app freeze in HDRP + Unity 6 HOT 3
- [BUG][HDRP][MACOSX] Ocean flickering black with caustics enabled. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from crest.