docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Generate six-way lightmap textures for visual effects

    Create six-way lightmap textures in your preferred VFX tool for use in Unity.

    To create and export six-way lightmap textures for Unity, follow these steps:

    1. Simulate or paint the smoke or cloud effect in your preferred VFX tool.
    2. Set six lighting directions: top, bottom, left, right, front, and back.
    3. Render the lighting result from each direction.
    4. Pack the lighting data into two textures:
      • In the first texture, set the red, green, and blue channels to store lighting data, and set the alpha channel to store transparency.
      • In the second texture, set the red, green, and blue channels to store lighting data, and set the alpha channel to store emissive or scattering effects.
    5. Export the textures in a format that Unity supports.

    After you complete these steps, you can use the six-way lightmap textures in Unity.

    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)