Selaa lähdekoodia

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 vuotta sitten
vanhempi
sitoutus
1fe4e34b7a
1 muutettua tiedostoa jossa 6 lisäystä ja 0 poistoa
  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>