Search Unity

How would you write a compute shader that takes in the vertices of meshes?

Discussion in 'Scripting' started by ml785, May 31, 2019.

  1. ml785

    ml785

    Joined:
    Dec 20, 2018
    Posts:
    119
    I have a mesh in my game, and I want the vertices of that mesh to be fed into a compute shader.

    Any idea how this is achieved?