Can I define my own texture loader?

Here is a question, our system has no static source system, because any request need to be authenticated, so I need to use ajax to get file content from backend, can I define my own texture loader method and set the image content to BJS to set the texture of meshes?

You can :slight_smile:
then set give the loaded array buffer to your texture with a createObejctUrl

Thank you, it works!

1 Like