StandardMaterial and UvScale in Typescript

Hello, im trying to replicate something like this PG:
(apply different UVs to thin instances thru custom vertex color)

I tried something similar in Typescript, but im facing:
Property uvScale does not exist on type StandardMaterial

Repro here:

Thanks

It is expected as here you are basically extending the objects with a new property.

In typescript you will need to cast your material to something where the property exists or to store it somewhere else: Babylon.js Playground

1 Like

Sebavan, as always, thank you,
but isnt your PG the same link as mine?
Im failing to understand you just but your description, sorry.