Skip to content

Commit 12fc51e

Browse files
committed
If normal map set, advance the current active texture
1 parent 3dd6d8a commit 12fc51e

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

src/renderer/webgl/WebGLRenderer.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1486,6 +1486,11 @@ var WebGLRenderer = new Class({
14861486
gl.bindTexture(gl.TEXTURE_2D, texture);
14871487

14881488
this.normalTexture = texture;
1489+
1490+
if (this.currentActiveTexture === 1)
1491+
{
1492+
this.currentActiveTexture = 2;
1493+
}
14891494
}
14901495
},
14911496

0 commit comments

Comments
 (0)