If normal map set, advance the current active texture

This commit is contained in:
Richard Davey 2020-07-16 16:17:16 +01:00
parent 3dd6d8a1a4
commit 12fc51e2e2

View file

@ -1486,6 +1486,11 @@ var WebGLRenderer = new Class({
gl.bindTexture(gl.TEXTURE_2D, texture);
this.normalTexture = texture;
if (this.currentActiveTexture === 1)
{
this.currentActiveTexture = 2;
}
}
},