|
@@ -1161,12 +1161,11 @@ function WebGLRenderer( parameters ) {
|
|
}
|
|
}
|
|
|
|
|
|
//
|
|
//
|
|
|
|
+ scene.onBeforeRender( _this, scene, camera, renderTarget || _currentRenderTarget );
|
|
|
|
|
|
currentRenderState = renderStates.get( scene, camera );
|
|
currentRenderState = renderStates.get( scene, camera );
|
|
currentRenderState.init();
|
|
currentRenderState.init();
|
|
|
|
|
|
- scene.onBeforeRender( _this, scene, camera, renderTarget || _currentRenderTarget );
|
|
|
|
-
|
|
|
|
_projScreenMatrix.multiplyMatrices( camera.projectionMatrix, camera.matrixWorldInverse );
|
|
_projScreenMatrix.multiplyMatrices( camera.projectionMatrix, camera.matrixWorldInverse );
|
|
_frustum.setFromProjectionMatrix( _projScreenMatrix );
|
|
_frustum.setFromProjectionMatrix( _projScreenMatrix );
|
|
|
|
|