<p dir="auto">If i like to use a tileable normalmap i can't use RepeatWrapping - nothing happens with the settings and no errors are showing up.</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="var textureLoader = new THREE.TextureLoader();
var textureNormal = textureLoader.load( &quot;./textures/carpet_normal.png&quot; );
textureNormal.wrapS = textureNormal.wrapT = THREE.RepeatWrapping;
textureNormal.repeat.set( 8, 8 );"><pre class="notranslate"><span class="pl-k">var</span> <span class="pl-s1">textureLoader</span> <span class="pl-c1">=</span> <span class="pl-k">new</span> <span class="pl-c1">THREE</span><span class="pl-kos">.</span><span class="pl-c1">TextureLoader</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-k">var</span> <span class="pl-s1">textureNormal</span> <span class="pl-c1">=</span> <span class="pl-s1">textureLoader</span><span class="pl-kos">.</span><span class="pl-en">load</span><span class="pl-kos">(</span> <span class="pl-s">"./textures/carpet_normal.png"</span> <span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-s1">textureNormal</span><span class="pl-kos">.</span><span class="pl-c1">wrapS</span> <span class="pl-c1">=</span> <span class="pl-s1">textureNormal</span><span class="pl-kos">.</span><span class="pl-c1">wrapT</span> <span class="pl-c1">=</span> <span class="pl-c1">THREE</span><span class="pl-kos">.</span><span class="pl-c1">RepeatWrapping</span><span class="pl-kos">;</span>
<span class="pl-s1">textureNormal</span><span class="pl-kos">.</span><span class="pl-c1">repeat</span><span class="pl-kos">.</span><span class="pl-en">set</span><span class="pl-kos">(</span> <span class="pl-c1">8</span><span class="pl-kos">,</span> <span class="pl-c1">8</span> <span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div>
<p dir="auto">=&gt; no effect!</p>
<h5 dir="auto">Three.js version</h5>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Dev</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> r78</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> ...</li>
</ul>
<h5 dir="auto">Browser</h5>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> All of them</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Chrome</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Firefox</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Internet Explorer</li>
</ul>
<h5 dir="auto">OS</h5>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> All of them</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Windows</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Linux</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Android</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> IOS</li>
</ul>
<h5 dir="auto">iMac with cuda enabled nvidia card</h5>
<p dir="auto"><a href="https://plnkr.co/edit/UT9rs0Q6TO0gBxwdxLVK?p=preview" rel="nofollow">plunker</a></p>
<p dir="auto">When setting the <code class="notranslate">map</code> to repeat the <code class="notranslate">alphaMap</code> is also affected.</p>
<p dir="auto">I'm expecting each face of the cube to have a giant whole in the middle with the edges of the taco time texture showing near the edges of the cube in a 3x4 pattern.</p>
<p dir="auto">I'm getting the 3x4 pattern of the taco time texture but the <code class="notranslate">alphaMap</code>, although it does not repeat it does scale down to the size of the other map. It also produces some nasty streaks.</p>
<p dir="auto">If you comment out line 35 <code class="notranslate">material.map.repeat.set(3,4);</code> you can see what I'm expecting from the <code class="notranslate">alphaMap</code>.</p>
<h5 dir="auto">Three.js version</h5>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Dev</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> r79</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> ...</li>
</ul>
<h5 dir="auto">Browser</h5>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> All of them</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Chrome</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Firefox</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Internet Explorer</li>
</ul>
<h5 dir="auto">OS</h5>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> All of them</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Windows</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Linux</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Android</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> IOS</li>
</ul>
<h5 dir="auto">Hardware Requirements (graphics card, VR Device, ...)</h5>