0
Завершен

Vertex Index

Wagner de Souza 8 лет назад обновлен Freya Holmér (Developer) 8 лет назад 1

There is a way to get the Vertex Number/Index of a mesh?

Ответ

Ответ
Завершен

The best way that is supported by all platforms is to write it into the mesh data. For instance, you can pick an unused UV channel, and on the CPU preprocess the mesh and write the indices into the UV channel, and then you can read the UV channel in the shader to get the index

Ответ
Завершен

The best way that is supported by all platforms is to write it into the mesh data. For instance, you can pick an unused UV channel, and on the CPU preprocess the mesh and write the indices into the UV channel, and then you can read the UV channel in the shader to get the index

Сервис поддержки клиентов работает на платформе UserEcho