Browse Source

Merge pull request #6235 from redsolarmoon/texture-power-two

Fixed "Texture is not power of two" warning
Mr.doob 10 years ago
parent
commit
0232880728

+ 5 - 0
examples/textures/decal/LICENSE.TXT

@@ -0,0 +1,5 @@
+decal-diffuse.png
+decal-normal.jpg
+
+Licensed under a CC0 1.0 Universal (CC0 1.0) Public Domain Dedication License:
+http://creativecommons.org/publicdomain/zero/1.0/

BIN
examples/textures/decal/decal-diffuse.png


BIN
examples/textures/decal/decal-normal.jpg


+ 1 - 1
examples/webgl_decals.html

@@ -53,7 +53,7 @@
 			specular: 0x444444,
 			map: decalDiffuse,
 			normalMap: decalNormal,
-			normalScale: new THREE.Vector2( .15, .15 ),
+			normalScale: new THREE.Vector2( 1, 1 ),
 			shininess: 30,
 			transparent: true,
 			depthTest: true,