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
Hello Jono, I'm curious to know if you've tried, or have any thoughts on how, to mix libraries together.
For example, suppose I am use Three.js and Two.js. I would like to have a single canvas, with a single webgl context in my entire application, and to draw using both libraries into the same context.
Are there any utilities in Two.js that allow this to be done? For example, maybe there's a way to modify gl state so Three.js can render, then modify the gl state to render a Two.js inside a framebuffer and use that as a texture inside the main Three.js scene?
In my specific case, I'm doing my own 3D stuff (not using a library like Three.js), and would like to mix it with Two.js. I am thinking I will render either my stuff or Two.js stuff in a framebuffer, and render that framebuffer content in the other. Not sure which direction yet.
The text was updated successfully, but these errors were encountered:
Hello Jono, I'm curious to know if you've tried, or have any thoughts on how, to mix libraries together.
For example, suppose I am use Three.js and Two.js. I would like to have a single canvas, with a single
webgl
context in my entire application, and to draw using both libraries into the same context.Are there any utilities in Two.js that allow this to be done? For example, maybe there's a way to modify
gl
state so Three.js can render, then modify thegl
state to render a Two.js inside a framebuffer and use that as a texture inside the main Three.js scene?In my specific case, I'm doing my own 3D stuff (not using a library like Three.js), and would like to mix it with Two.js. I am thinking I will render either my stuff or Two.js stuff in a framebuffer, and render that framebuffer content in the other. Not sure which direction yet.
The text was updated successfully, but these errors were encountered: