diff --git a/src/renderers/common/UniformsGroup.js b/src/renderers/common/UniformsGroup.js index 164b48e832c0c8..1e88dff7665f87 100644 --- a/src/renderers/common/UniformsGroup.js +++ b/src/renderers/common/UniformsGroup.js @@ -369,7 +369,7 @@ class UniformsGroup extends UniformBuffer { const offset = uniform.offset; const type = uniform.getType(); - if ( a[ offset + 0 ] !== v.x || a[ offset + 1 ] !== v.y || a[ offset + 2 ] !== v.z || a[ offset + 4 ] !== v.w ) { + if ( a[ offset + 0 ] !== v.x || a[ offset + 1 ] !== v.y || a[ offset + 2 ] !== v.z || a[ offset + 3 ] !== v.w ) { const b = this._getBufferForType( type );