Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

► All Terrain Textures ◄

Discussion in 'Assets and Asset Store' started by Arkhivrag, May 22, 2020.

  1. Arkhivrag

    Arkhivrag

    Joined:
    Apr 25, 2012
    Posts:
    2,873
    Cover.png

    Support forum for All Terrain Textures (link) plugin for extracting all possible textures and painted data from Unity TerrainData object.
    Plugin works in run-time by adding new AllTerrainTextures extension to the TerrainData class and in Editor with user friendly window supporting both single and batch conversion.

    Plugin extracts textures in up to 8K and supports their splitting in 2D grid by any count.

    Editor.png



    Amazing Assets - YouTube Facebook Twitter
     
    Last edited: Jun 25, 2020
  2. KaiserVirtualReality

    KaiserVirtualReality

    Joined:
    Dec 4, 2018
    Posts:
    1
    So is it true that with this item I can convert my current terrain to a single texture? I want a texture from the complete top view of my terrain
     
  3. Arkhivrag

    Arkhivrag

    Joined:
    Apr 25, 2012
    Posts:
    2,873
    Yes, you can bake all terrain painted textures into one Basemap texture.
    There is just one requirement - source terrain asset must be using Unity's default built-in terrain shader. If terrains uses some other third-party or custom shader then Basemap can not be baked.



    Amazing Assets - YouTube Facebook Twitter
     
  4. MaDDoX

    MaDDoX

    Joined:
    Nov 10, 2009
    Posts:
    764
    Two questions:
    - If terrain uses custom shader for rendering or third-party tool for Tree/Grass placement, make sure all their info is save inside TerrainData, otherwise All Terrain Textures cannot extract non existing textures and other paint data.


    Is it compatible with CTS (Complete Terrain Shader)?
    https://assetstore.unity.com/packages/tools/terrain/cts-2019-complete-terrain-shader-140806

    - Textures can be extracted in up to 8K resolution and can be split in 2D grid by any count.


    What if I have multiple terrains next to each other, for a bigger world, and I wanted to export eg. a huge 20k x 20k map instead of multiple 8k ones, is it possible? Or would I have to export them separately, once per each terrain?
     
  5. Arkhivrag

    Arkhivrag

    Joined:
    Apr 25, 2012
    Posts:
    2,873
    No, custom terrain shaders can not be extracted or baked into Basemap texture.

    Exported textures are Unity 2D textures and they can not have resolution more than 8K. However plugin can generate grid of 2D textures and this way achieve desired unlimited resolution.



    Amazing Assets - YouTube Facebook Twitter
     
    MaDDoX likes this.
  6. LumaPxxx

    LumaPxxx

    Joined:
    Oct 3, 2010
    Posts:
    324
    Could this plugin do importing splat maps, control maps, detail maps?
     
  7. Arkhivrag

    Arkhivrag

    Joined:
    Apr 25, 2012
    Posts:
    2,873
    LumaPxxx likes this.