Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device. Atlassian cookies and tracking notice, (opens new window)

Enlighten UE4 3.12 Documentation
Results will update as you type.
  • Welcome to Enlighten
  • How Enlighten works
  • Install and build
  • Beginner tutorials
  • From static to dynamic lighting
  • How actors interact with Enlighten
  • Lightmap lighting
    • Lightmap UV charts
    • Lightmap UVs
    • Shared lightmaps
    • Mesh projection
    • Simplified UVs with a target mesh
  • Probe lighting
  • Local reflections
  • Change the lighting resolution
  • World properties
  • Level properties
  • Precompute your level
  • Enlighten light properties
  • Light reflected from the sky
  • Material properties
  • Light volumetric fog
  • Turn off Enlighten updates in game
  • Mesh destruction
  • LOD for lighting
  • Real-world sun/sky intensity
  • Collaborate on a level
  • Reserved texture samplers
  • Visualizations and statistics
  • Debug with Enlighten tools
  • Convert to vanilla UE4
  • Troubleshooting and support
  • Third-party licences
  • Release notes
    Calendars

You‘re viewing this with anonymous access, so some content might be blocked.
/
Simplified UVs with a target mesh

    This is the documentation for Enlighten.

    Simplified UVs with a target mesh

    Dec 22, 2020

    It's sometimes difficult to manually unwrap simplified lightmap UVs for a mesh with many small geometric details. Enlighten mesh projection provides an alternative way to generate lightmap UVs using a dedicated target mesh. With this technique, you create a simplified proxy mesh that approximates the original. Enlighten generates lightmap UVs by projecting the original mesh onto the proxy target mesh.

    Target meshes are never drawn, and their associated mesh data isn't used in game mode.

    Target meshes can be an effective way to generate simplified lightmap UVs for use with Enlighten. However, modeling target meshes requires some practice.

    When to use a target mesh

    You should only use target meshes when all of the following are true:

    • The mesh is large enough that it's not a good candidate for sharing a lightmap with other nearby meshes.
    • The mesh can't be lit efficiently using probes.
    • The Auto UV algorithm produces poor lightmap UVs for the mesh.
    • It's difficult to manually unwrap the UVs because the mesh is complex.

    Give your mesh a target

    To add a dedicated target mesh to your static mesh asset:

    1. In your modeling software, give the target mesh the same name as the render mesh with the prefix ENL_ (eg ENL_RenderMeshName). This is similar to the workflow for UE4 collision (UE4 Documentation).
    2. Export the FBX and import it into UE4 in the usual way.
    3. Open the mesh in the Static Mesh Editor. It's displayed as the Enlighten Target in the list of mesh LODs.

    Good target meshes

    A good target mesh is one for which mesh projection produces efficient lightmap UVs for the projected meshes.

    For complete control, you can manually author a lightmap UV channel for the target mesh. See Lightmap UVs for details of how to set this up.

    The target mesh can be much simpler than the original detail mesh. Details that protrude from the mesh can be reduced to a simple smooth surface:

    After you import the mesh into Unreal, to see the UV, open the mesh in the Static Mesh Editor and click the Charts button.

    Iterate on the target mesh until you get a good result.

    , multiple selections available,
    {"serverDuration": 20, "requestCorrelationId": "614ac38288a54baeb17ad88eb904ae8f"}