ViveSoftware / ViveStereoRenderingToolkit

Other
30 stars 4 forks source link

Vibrating image when using the scissor test #7

Open Ayfel opened 5 years ago

Ayfel commented 5 years ago

The image seems to vibrate quite a bit when using the scissor test. An extra problem is that the scissor test creates a subrect that includes the "eye mask" of the SDK being used. As such if you use the scissor test you will notice black borders in your mirror. To solve this I modified GetScissorRect() to create a slightly bigger subrect, thus avoiding the problem of black borders. However the image when using the scissor test vibrates quite a bit.