浏览代码

Docs: Clarify texture filtering for gradient maps.

Mugen87 5 年之前
父节点
当前提交
6a68d936e8
共有 2 个文件被更改,包括 4 次插入2 次删除
  1. 2 1
      docs/api/en/materials/MeshToonMaterial.html
  2. 2 1
      docs/api/zh/materials/MeshToonMaterial.html

+ 2 - 1
docs/api/en/materials/MeshToonMaterial.html

@@ -130,7 +130,8 @@
 		</p>
 
 		<h3>[property:Texture gradientMap]</h3>
-		<p>Gradient map for toon shading. Default is *null*.</p>
+		<p>Gradient map for toon shading. It's required to set [page:Texture.minFilter] and [page:Texture.magFilter] to
+			[page:Textures THREE.NearestFilter] when using this type of texture. Default is *null*.</p>
 
 		<h3>[property:Texture lightMap]</h3>
 		<p>The light map. Default is null. The lightMap requires a second set of UVs,

+ 2 - 1
docs/api/zh/materials/MeshToonMaterial.html

@@ -130,7 +130,8 @@
 		</p>
 
 		<h3>[property:Texture gradientMap]</h3>
-		<p>Gradient map for toon shading. Default is *null*.</p>
+		<p>Gradient map for toon shading. It's required to set [page:Texture.minFilter] and [page:Texture.magFilter] to
+			[page:Textures THREE.NearestFilter] when using this type of texture. Default is *null*.</p>
 
 		<h3>[property:Texture lightMap]</h3>
 		<p>The light map. Default is null. The lightMap requires a second set of UVs,