Changing the size of a normalMap (exclusively) in the Viewer API

Good afternoon,

I want to define the size of my glTF material normal maps on the fly.

I’ve been doing this via Grasshopper with an input that feeds Fill Texture, Draw, and Squid components but I think this cumbersome.

So I’ve been looking into addressing this directly via Three.js. Before I go down a rabbit hole and with reference to:

Is this possible - without messing everything up? A potential upcoming feature?

Thanks,

Winston

Hello @winston,

this is already possible via the API. I created an example where I change the size of a map, all other textures stay the same. You can of course do the same for a normalMap. Here is an example.

Cheers, Michael

The best answer. Thanks @MajorMeerkatThe3rd!