瀏覽代碼

Merge pull request #14753 from mrdoob/looeee-patch-1-1

DOCS: add note that equirectangular envmap is not supported by Standard material
Mr.doob 7 年之前
父節點
當前提交
1fe4e34b7a
共有 1 個文件被更改,包括 6 次插入0 次删除
  1. 6 0
      docs/api/en/materials/MeshStandardMaterial.html

+ 6 - 0
docs/api/en/materials/MeshStandardMaterial.html

@@ -172,6 +172,12 @@
 		of the env texture.  TextureCubes created with default settings are correctly configured;
 		of the env texture.  TextureCubes created with default settings are correctly configured;
 		if adjusting texture parameters manually, ensure minFilter is set to one of the MipMap options,
 		if adjusting texture parameters manually, ensure minFilter is set to one of the MipMap options,
 		and that mip maps have not been otherwise forcibly disabled.</p>
 		and that mip maps have not been otherwise forcibly disabled.</p>
+		<p>
+		Note: only [link:https://threejs.org/docs/#api/textures/CubeTexture cube environment maps] are supported 
+		for MeshStandardMaterial. If you want to use an equirectangular map you will need to use the 
+		[link:https://github.com/mrdoob/three.js/blob/dev/examples/js/loaders/EquirectangularToCubeGenerator.js EquirectangularToCubeGenerator]. 
+		See this [link:https://threejs.org/examples/webgl_materials_envmaps_exr.html example] for details.
+		</p>
 
 
 		<h3>[property:Float envMapIntensity]</h3>
 		<h3>[property:Float envMapIntensity]</h3>
 		<p>Scales the effect of the environment map by multiplying its color.</p>
 		<p>Scales the effect of the environment map by multiplying its color.</p>