Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Visual noise in Cesium3DTiles (Material) #1359

Closed
ftrx opened this issue Feb 21, 2024 · 2 comments · Fixed by #1414
Closed

Visual noise in Cesium3DTiles (Material) #1359

ftrx opened this issue Feb 21, 2024 · 2 comments · Fixed by #1414

Comments

@ftrx
Copy link

ftrx commented Feb 21, 2024

I've noticed today that there is a visual noise on the Cesium3DTiles (its very hard to see, kind of white noise/ pixel artifacts):

Noise_UE5.3_Cesium.mp4

it is even more visible when the mesh/3dTiles is selected (so its something in the mesh?):

Noise_Selected_UE5.3_Cesium.mp4

Its quite subtle visual noise and far better visible when the 3dTileset is selected. It's mostly noticeable in darker areas and is in VR quite noticeable (also in builds)

It seems like its a Material issue (?) with the standard masked material:

If I change the 3dTileset material to the M_DEPRECATED_CesiumDefaultMasked the issue is gone.
Also if disconnect/replace the Alpha Channel of the Vertex Color node from the Opacity/ OpacityMask in the CesiumGlTFFunction MaterialFunction, the issue/noise is gone (so it seems vertex color related?)

If I have time, I'll try to dive into it a bit, but maybe you guys already know the issue/culprit

My Specs

  • UE 5.3
  • Cesium Plugin 2.3.0 but affects probably all version with the newer material

Steps to reproduce:

  1. Open Cesium for Unreal Examples Project
  2. Open any map (for example 04_MAIN_CesiumSublevels)
  3. Go to a darker area (dark textured building or so)
@ftrx ftrx changed the title Visual noise in Cesium3DTiles Visual noise in Cesium3DTiles (Material) Feb 21, 2024
@csciguy8
Copy link
Contributor

I see it too. Even turning off antialiasing (Project Settings->Anti-Aliasing Method = None), the problem persists.

This does stop the noise from animating at least.

@ftrx
Copy link
Author

ftrx commented Feb 23, 2024

Some more information from our side:
It seems to have something to do with the Material Layers,
as the CesiumGltFFunction is also used in the old deprecated material directly and there it works without issue.

Also if I use a new Material Instance of the M_CesiumBaseMaterial with the same parameters as the MI_CesiumThreeOverlaysAndClipping Material Instance the issue seems to be gone...

So maybe a bad asset/ old parameters? but i cannot exclude yet if its cache/DDC related from our side.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants