Selaa lähdekoodia

Added note on powers-of-two for tiling images

paulmasson 10 vuotta sitten
vanhempi
commit
86a9d6e5ca
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      docs/api/textures/Texture.html

+ 1 - 1
docs/api/textures/Texture.html

@@ -54,7 +54,7 @@
 		</div>
 		
 		<div>
-		NOTE: tiling of images in textures only functions if the edges of images are powers of two (2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, ...) in terms of pixels. Image sides need not be equal, but each must be a power of two. This is a limitation of WebGL, not Three.js.
+		NOTE: tiling of images in textures only functions if image dimensions are powers of two (2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, ...) in terms of pixels. Individual dimensions need not be equal, but each must be a power of two. This is a limitation of WebGL, not Three.js.
 		</div>
 
 		<h3>[property:number magFilter]</h3>