Description

Context
Landscape Edit Layers enables users to paint landscapes using non-destructive layers, and can add multiple layers to the landscape that can be edited independently from each other.

Problem
When painting on a landscape with edit layers, there are some UV distortions happening across the boundaries of paint layers if the Landscape Material is using a "SetMaterialAttributes" node to assign the material attributes. The current work around is to remove this node and plug in values directly to the Material without "Use Material Attributes" enabled.
Another workaround with SetMaterialAttributes being used, that is more of a band aid fix, is slightly changing the Layer alpha blending value to something like .99; this works for a layer overlapping the base / bottom layer, but the UV artifacts remain where the layers, that are not the base layer, intersect with each other.

Steps to Reproduce
  1. Download and open repro project provided by licensee uploaded in ticket (available internal only)
  2. Open level "L_LandscapePaintBug"; Content Drawer > Content >L_LandscapePaintBug
  3. Move Camera up and face down to see landscape
    Observe: Between the light green rocky landscape and rocky landscape there exists an odd distortion
    Expected: No artifact / distortion, and a seamless blending from one texture to the other
  4. Open material "M_LandscapePaintBug"; Content Drawer > Content > M_LandscapePaintBug
  5. Click on the material node "M_LandscapePaintBug" and uncheck "Use Material Attributes" in the details panel
  6. Delete the "SetMaterialAttributes" node and connect the disconnected nodes to the material "M_LandscapePaintBug ("Landscape Layer Blend" node to Base Color, "1" node to Roughness, "0,0,1" node to Normal)
  7. Save and apply, then go back to the L_LandscapePaintBug viewport
    Observe: No artifact / distortion, and has a seamless blending from one texture to the other when not using "SetMaterialAttributes"

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-254858 in the post.

0
Login to Vote

Unresolved
CreatedMar 10, 2025
UpdatedMar 12, 2025
View Jira Issue