문제

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