diff --git a/Sources/Rendering/OpenGL/OrderIndependentTranslucentPass/index.js b/Sources/Rendering/OpenGL/OrderIndependentTranslucentPass/index.js index 7f09dea66b4..e4384395358 100644 --- a/Sources/Rendering/OpenGL/OrderIndependentTranslucentPass/index.js +++ b/Sources/Rendering/OpenGL/OrderIndependentTranslucentPass/index.js @@ -327,6 +327,11 @@ function vtkOpenGLOrderIndependentTranslucentPass(publicAPI, model) { gl.depthFunc(gl.LEQUAL); model.translucentRGBATexture.deactivate(); model.translucentRTexture.deactivate(); + + // restore scissor + viewport from renderer + const ts = renNode.getTiledSizeAndOrigin(); + gl.scissor(ts.lowerLeftU, ts.lowerLeftV, ts.usize, ts.vsize); + gl.viewport(ts.lowerLeftU, ts.lowerLeftV, ts.usize, ts.vsize); }; publicAPI.getShaderReplacement = () => {