|
@@ -1442,10 +1442,10 @@ THREE.WebGLRenderer = function ( parameters ) {
|
|
_gl.useProgram( program );
|
|
_gl.useProgram( program );
|
|
_oldProgram = program;
|
|
_oldProgram = program;
|
|
|
|
|
|
- _gl.uniformMatrix4fv( p_uniforms.projectionMatrix, false, _projectionMatrixArray );
|
|
|
|
-
|
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ _gl.uniformMatrix4fv( p_uniforms.projectionMatrix, false, _projectionMatrixArray );
|
|
|
|
+
|
|
// refresh uniforms common to several materials
|
|
// refresh uniforms common to several materials
|
|
|
|
|
|
if ( fog && (
|
|
if ( fog && (
|