简体   繁体   中英

How to export a Blender Model to show color in THREE.js

I have looked everywhere for an answer to this question and can't find anything that works, what am I doing wrong?!

This is what my model looks like rendered in Blender using "cycle render"这是我的模型在搅拌机中呈现的样子。

Here is what it looks like in my THREE.js Project, it should have color. (Yes I have lights in this scene! Two in fact!) 在此处输入图片说明

My Blender Export Settings在此处输入图片说明

The House's JSON file data 在此处输入图片说明

在此处输入图片说明

Lastly my JS. code... 在此处输入图片说明

So where am I going wrong here??? It's possible to export colored models right?!

For future reference, if you experience above go to "Material Properties" and try to use another material and pick your desired color. Worked for me.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM