Search Unity

Question Is there support for vertex index? uint vid : SV_VertexID

Discussion in 'Universal Render Pipeline' started by studentutu, May 29, 2020.

  1. studentutu

    studentutu

    Joined:
    Oct 22, 2017
    Posts:
    121
    Is there support for vertex index? uint vid : SV_VertexID
    On Standart pipeline with the exact same setup, I can batch up to 52 objects on the scene with 600 objects?
    when switched to URP - it can no longer batch it with the exactly same shader but rewritten into URP supported one. Link to the repo : https://github.com/X-Crew/Morpeh.Baker/tree/develop/Runtime/AnimationBaker
    it is free to use tool for changing skinned mesh animator/animations onto a simpler mesh with baked animation on it. It requires a lookup texture to look into the current position and the vertex id that will tell the right coordinate
     
  2. MatteoMazzeriBlasph

    MatteoMazzeriBlasph

    Joined:
    Jan 4, 2019
    Posts:
    12
    Same problem here, someone can help with this?