Can we change GLB texture map at runtime?

where I need to pass two lines in traverse function? @aswwwcom

Thanks to all for guiding me I clear my first step
@aswwwcom @seanwasere @Chaser_Code

Mistake.
mesh[child.name]=object;
to
mesh[child.name]=child;

1 Like

ok thanks @Chaser_Code

Sir I thing more suppose if someone is selected normal map from down it works well and if I selected again None from dropdown how to pass default texture map so GLB looks again normal… @aswwwcom

check with it is null if there is no normal map then mesh.material.normalMap value is null

That would be hint

1 Like

Thanks sir @aswwwcom