CesiumPolygonRasterOverlay only works when close to 3DTiles

Hi, I created Cartographic Polygon and add Polygon Raster Overlay to the 3DTiles , but the 3DTiles only disappear when close , when stay away from it ,3DTiles reback .


2023-05-18_202351817551500_00_00--00_00_20

Are you using a custom material? If so, it needs to include support for clipping.

not custom material, used the default material “Clipping”

Can you elaborate? I don’t know exactly what I mean by that, but I suspect whatever you did is the cause of the problem. Most likely if you Clear all of the material slots on the Tileset, it will start working.

Hi, Kwvin , I find I really used custom material , what should I do about make custom material include support for clipping :smiling_face_with_tear:

Sorry, Kevin,I have learned how to do that , thanks :kissing_heart:

Take a look at the default material: /CesiumForUnreal/Materials/Instances/MI_CesiumThreeOverlaysAndClipping

It is structured as material layers, and there is one layer labeled “Clipping”. Your custom material also needs to have a Clipping layer, and its name must be Clipping (or, alternatively, you can change the Material Layer Key property on the CesiumPolygonRasterOverlay).