Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only. On July 15, Unity Discussions will become read-only until July 18, when the new design and the migrated forum contents will go live. Read our full announcement for more information and let us know if you have any questions.

Resolved Is denting terrain in real time possible?

Discussion in 'Scripting' started by jlorenzi, Nov 17, 2023.

  1. jlorenzi


    May 2, 2021
    I'm making a snowboarding game and I want to push the snow terrain in a bit when the player runs over it. Any clue on how to achieve this or are there some illusions I could use to make it look like the terrain is changing?
  2. halley


    Aug 26, 2013
    Instead of modifying the terrain data, most games with this sort of mechanic will use a render-texture and a vertex displacement shader. This is just one of many tutorials I found which covers it; you can adjust how deep the effect works.

    CodeSmile, zulo3d and Bunny83 like this.