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.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Realistic sand?

Discussion in 'General Graphics' started by caleb_chaos, Jul 5, 2015.

  1. caleb_chaos

    caleb_chaos

    Joined:
    Jun 1, 2015
    Posts:
    12
    I wasn't sure which section to post this in exactly, but I have been wondering how realistic sand could be created. For example, in the game Uncharted 3, the sand underneath the character changes and moves as though real sand would. In real life a person can stand in sand and their feet will sink in slightly/make a footprints. I would really like to understand how something such as this could be achieved.

    (fast forward to 8:43)
     
  2. mouurusai

    mouurusai

    Joined:
    Dec 2, 2011
    Posts:
    349
    <<(fast forward to 8:43)>>
    It's just decals.
     
    caleb_chaos likes this.
  3. TheAlmightyPixel

    TheAlmightyPixel

    Joined:
    Jun 21, 2014
    Posts:
    263
    You can try using normal-mapped decals to create the footprints and to create the moving sand you can use some particle effects with a 'sand cloud'-texture on a particle system.
     
    caleb_chaos likes this.
  4. mradfo21

    mradfo21

    Joined:
    May 16, 2013
    Posts:
    194
    naughty dog FX artist. That worked by projecting a decal which modified the normals for the Gbuffer (at the time it wasn't a "gbuffer" as only recently did we move to real deferred rendering).
     
    raja-bala and caleb_chaos like this.
  5. raja-bala

    raja-bala

    Joined:
    Jul 11, 2012
    Posts:
    29
    The tricks that artists/gfx programmers use to fool you! :)
     
    caleb_chaos likes this.