Hello.
I'm using the stencil buffer to composite two THREE.js Scenes over each other. This works, but when I try to use PointerLockControls, moving the camera (using mouse or keyboard) somehow causes the stenciled part of the view to be moved/shifted. It seems to lag behind the camera position.
I've tried other controls (Trackball, Orbit), and this issue does not occur when using those.
Something seems to be clashing, but I have no idea where to look.
The PointerLock code is copied straight from the examples.
Here's a fiddle: http://jsfiddle.net/g8EWG/
If you move from left to right, or just look around, the shift is quite noticeable.
Any help would be greatly appreciated.
--
You received this message because you are subscribed to the Google Groups "WebGL Dev List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to webgl-dev-lis...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.