You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm having trouble with setViewport and setScissor when I try to use it with WebGLRenderTarget.
Here's an example: http://jsfiddle.net/3da48Luu/1/
I've gone through three.js to the best of my abilities, and feel like it could actually be a webGL bug, but I'm just not sure.
The quick workaround to make setViewport and setScissor work is to call the offending render twice.
The text was updated successfully, but these errors were encountered:
I've figured it out. I need to run setRenderTarget before running setViewport, which I guess operates on the last bound renderTarget. http://jsfiddle.net/3da48Luu/2/
I'm having trouble with setViewport and setScissor when I try to use it with WebGLRenderTarget.
Here's an example:
http://jsfiddle.net/3da48Luu/1/
I've gone through three.js to the best of my abilities, and feel like it could actually be a webGL bug, but I'm just not sure.
The quick workaround to make setViewport and setScissor work is to call the offending render twice.
The text was updated successfully, but these errors were encountered: