I'm searching to add an IBL to my scene and objects. But I can't find anything on the web. There are some examples with an envMap, but the problem is that with the envMap the object looks like chrome...
I'm trying to have such an effect:
我发现您可以使用 IBL(基于图像的照明)、PRT(预计算辐射传输)或 PBR(基于物理的渲染)。但我不知道如何在 Three.js 中使用这样的效果。
[EDIT]
After using the new MeshStandardMaterial
from the r74dev
I'm able to have the following result:
(before)
(after)
但我不能使用MeshStandardMaterial
and envMap
有纹理。无论是质感还是质感MeshStandardMaterial
不起作用。
感谢 WestLangley 我正在使用MeshStandardMaterial
:
var objectGeometry = new THREE.SphereGeometry( 10, 100, 100 );
material = new THREE.MeshStandardMaterial({envMap : textureSkydome});
(r74dev)
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)