Connect a TresJS Model with Vue State

Share this video with your friends

Send Tweet

In this TresJS lesson you will see how to connect a 3D model to your application state. You'll learn to:

  • Access your model's material colors using the materials property from useGLTF
  • Use Vue's watch function to update the model's colors when the user changes the selection in the UI

This allows you to create an interactive 3D experience that responds to user input.