Search Unity

Question Sand Simulation With Cellular Automata

Discussion in 'Getting Started' started by unity_cMXCJt9KI6zOpw, Feb 1, 2022.

  1. unity_cMXCJt9KI6zOpw

    unity_cMXCJt9KI6zOpw

    Joined:
    Jul 23, 2019
    Posts:
    3
    I've spent the last few days trying to learn compute shaders to work on a sand simulation; but I'm really struggling to find resources to help. If anyone had a link to a tutorial or starting point, I would be very grateful;
    - Thanks
     
  2. JeffDUnity3D

    JeffDUnity3D

    Joined:
    May 2, 2017
    Posts:
    14,446
    A Google search brings up many examples, what have you tried before we start making suggestions?
     
  3. unity_cMXCJt9KI6zOpw

    unity_cMXCJt9KI6zOpw

    Joined:
    Jul 23, 2019
    Posts:
    3
    Looking through the suggestions i find many porotype's of sand sims but ive yet to find a github page / a tutorial that actually shows the code rather than "look at what i coded" and explain basic concept
     
  4. JeffDUnity3D

    JeffDUnity3D

    Joined:
    May 2, 2017
    Posts:
    14,446
    Have you already created a compute shader, separate from a sand sim, to understand the basics? Generally you will never find an exact tutorial for your needs, you move towards understanding so you can accomplish the details on your own.