Search Unity

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

Question How to set a different layer for Terrain details, vs. Terrain GameObject layer?

Discussion in 'World Building' started by adamgolden, Aug 23, 2023.

  1. adamgolden


    Jun 17, 2019
    I'm using a URP Render Feature with Terrain in 2022 LTS, which is working great, except it's also applying to the terrain details and I only want it to apply to the terrain surface itself. The GameObject layer for the Terrain is set to a unique one and the Render Feature is set to that, which appears to be working correctly.. but search as I may, I can't find a way to set a different layer for the details. I've also tried setting prefab details' GameObjects layers to a different one, but Render Feature still applies as though they had the same layer as the Terrain.

    Is it possible to assign details objects a layer different from that of the terrain itself?