Hello, I need to use the index of the point to instance texture (index of point modulo number of texture) but index is not available in Scope list.
My only way was to create “Id” attribute and, in GLSL top, write:
const uint id = TDIndex();
int ID = int(id);
Id[id] = ID
And then create attribute texId = Id % number of texture
It works but there is certainly an easier and more elegant way…
Thank you in advance,
Jacques