I have a problem with the colladaloader. I need to load dds textures, but the colladaloader want to load images. In the browser console I get the following message:

Resource interpreted as Image but transferred with MIME type image/vnd.ms-dds

Is it possible to change something in the colladaloader.js to load dds or what can I do the solve that problem?

Thanks for you help.

有帮助吗?

解决方案

use THREE.ImageUtils.loadCompressedTexture

Check this out if you haven't already...

How to load compressed .dds images as collada textures?

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top