Use RegisterInstancedBuffer For UV2

YO @Deltakosh @sebavan @Evgeni_Popov (or anyone else)

Is there any way to specify separate lightmap UV2 info per instance using registerInstanceBuffer like you can for change a the color for each instance… i need to specify different lightmap UV2 offsets per instance… if that can be done ???

So you can not specify a full set of different UVs per instance this requires a unique attrib per instance.

You can nevertheless specify a unique offset/scale per instance as it ends up being a matrix like the work one.

To do this you ll unfortunately need a custom material to support it.

Can please point me to info on using custom material to support this

@Evgeni_Popov might have a nice example for NME ?

or @PirateJC

Maybe this can help:

2 Likes