Description

After clicking 'Create StaticMesh' button on an Procedural Mesh Component, and saving the mesh, the created mesh has bad tangents. Included in the attachments, is a test project with a parallax material to identify the difference between a Procedural Mesh and it's Static Mesh counterpart.

 

Additional Details: https://forums.unrealengine.com/development-discussion/rendering/1541688-parallax-occlusion-mapping-different-on-procedural-mesh-why

Steps to Reproduce
  1. Download the attached ParallaxProcMesh.zip project.
  2. Open up Unreal Engine 4.20, and open ParallaxProchMesh Project.
  3. In the editor view, Click on the ProcMesh Actor.
  4. In the details panel of ProcMeshActor, click the ProceduralMesh1 Component,In the Procedural Mesh Category, click "Create Static Mesh".
  5. Save the mesh, and drag it into the world space adjacent to the ProcMesh Actor.
  6. Move your camera in the editor by pressing down the middle mouse button, and moving your mouse.

Result: Take note of the behavior of the materials on the static mesh actor, it behaves differently than ProcMesh by shifting on the sides. (See ProcStatisMesh.Gif)

Expected: Static Mesh is created without need to recompute tangents.

Workaround:

  1. Open the created Static Mesh, and under the LOD 0-> Build Settings.
  2. Check the Recompute Tangents checkbox and click "Apply Changes"
  3. Go back to editor viewport and move the camera using the middle mouse button, and mouse.
  4. The static mesh is correct and behaves similar to the original Procedural Mesh.

Have Comments or More Details?

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

8
Login to Vote

Fixed
Fix Commit4499759
Main Commit5364178
CreatedOct 25, 2018
ResolvedFeb 22, 2019
UpdatedMar 11, 2019