Search Unity

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

Bug Terrain Layer 4 get bright edges when crossing Layer 5

Discussion in 'World Building' started by iluh, Sep 7, 2023.

  1. iluh


    Jun 19, 2015

    I'm using Unity 2021.3.24f1.
    I have a terrain with 5 layers. When I redraw layer 4 after creating layer 5 (so layer 4 is underneath layer 5), I get this bright border with layer 4.

    On a first attached screenshot there you see layer 0 which is grass, layer 4 and layer 5 both rectangle surfaces. Bright border appears only after I add layer 5 and change layer 4 position so it touches layer 5.

    Apparently, it happens because of internal texture mixing - layer 4 is Alpha channel of terrain texture 1, and layer 5 is red channel of terrain texture 2. Bright edge happen only with layers 4 and 5, and not happening with other combinations of layers.

    Should I file a bug or is it me?

    Attached Files: