Closed texone closed 1 year ago
you just have to inherit from VertexIDStream
and call AssignVertexID();
in the vertex stage:
https://github.com/vvvv/VL.Stride/blob/preview/2022.5/packages/VL.Stride.Runtime/src/Effects/Common/VertexIDStream.sdsl
Added VerexID Generation to material extension and draw shader
When possible provide id when using geometry nodes to be able to read from buffers