THREE.Loader.createMaterial: colorAmbient is no longer supported?

Can someone please tell me why I get this error & how to fix? three.min.js:808 THREE.Loader.createMaterial: colorAmbient is no longer supported.

Thank you!

colorAmbient is a deprecated material property. There are only two ways to fix the mentioned warning:

  • Fix the obsolete material definition in your 3D asset
  • Use an older three.js version (which is not recommended)

THANK you @Mugen87! That worked! :slight_smile:

1 Like