If you resize the composer, all passes in the pass chain are resized as well. BokehPass.setSize()
is called as well which resizes the internal render target. I think the issue is that BokehPass
has an aspect
uniform which relies on the aspect ratio of the camera. If you resize the window, camera.aspect
is usually updated with a new value. However, the uniform isn’t automatically updated yet. I’ll fix this with a PR: BokehPass: Correctly set `aspect` in `setSize()`. by Mugen87 · Pull Request #27063 · mrdoob/three.js · GitHub
1 Like