Вопрос

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