Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Question Unity urp android terrain issue

Discussion in 'Universal Render Pipeline' started by cazamazin, Dec 7, 2023.

  1. cazamazin

    cazamazin

    Joined:
    Oct 18, 2017
    Posts:
    1
    hi
    I'm working on a terrain paint texture in Unity.

    When I build an Android (Galaxy Note 9),
    If I use normal maps and mask maps on Terrain, Tha will not be able to render In Mobile.

    any ideal?
    help me plz.....
     

    Attached Files:

  2. tw00275

    tw00275

    Joined:
    Oct 19, 2018
    Posts:
    65
    Try selecting Channel Remapping > and adjust the sliders in there. These will let you set the maximum and minimum values of the channels in the textures this layer uses.

    https://docs.unity3d.com/Manual/class-TerrainLayer.html

    My guess is that one of these layers is setting the alpha channel of your terrain to 0, so it becomes invisible. In the link it says:
    "For the HDRP and URP TerrainLit Shader, the RGBA channels of the Mask Map Texture correspond to:
    A (alpha) - Smoothness (Diffuse Alpha becomes Density)".

    Check the value of the Alpha channel on your Mask texture. Maybe try disabling the alpha channel on it and see if that helps.