Browse Source

Docs: Clarify texture filtering for gradient maps.

Mugen87 5 years ago
parent
commit
6a68d936e8

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

@@ -130,7 +130,8 @@
 		</p>
 		</p>
 
 
 		<h3>[property:Texture gradientMap]</h3>
 		<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>
 		<h3>[property:Texture lightMap]</h3>
 		<p>The light map. Default is null. The lightMap requires a second set of UVs,
 		<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>
 		</p>
 
 
 		<h3>[property:Texture gradientMap]</h3>
 		<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>
 		<h3>[property:Texture lightMap]</h3>
 		<p>The light map. Default is null. The lightMap requires a second set of UVs,
 		<p>The light map. Default is null. The lightMap requires a second set of UVs,