-
-
Notifications
You must be signed in to change notification settings - Fork 35.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WebGL Multiple Render Targets (DrawBuffers) #9358
Conversation
I just made an update for the MultiRenderTarget with the new es6 rollup styles. |
@edankwan Can you please remove the builds from the PR? |
Removed |
Any news on this merge? |
. |
Resolve new conflicts again... and updated the preview demo link above. |
Could you remove the builds from this PR? I think that's why the conflicts keep coming back. |
Done. Sorry about it. |
Hmm, can you try pulling/merging from dev? |
Merged and pushed. It seems working just fine: http://edankwan.com/tests/threejs-multi-render-target/webgl_mrt.html |
Any news? |
Merged and removed the built files again. |
@mrdoob Would you merge MRT feature if I (or someone) clean up this PR? Or should we wait til |
I would like to see this implemented, too. |
Is it worth resurrecting this PR now that WebGL2 is available and supports MRT? I'd really like to see this for use with deferred rendering. |
If you folks don't mind I'll try to clean up this PR because this PR isn't updated for years and I'd like to see MRT in Three.js. Let me know if anyone already started or wants to try, I don't wanna be conflicted with. |
Created PR #16390 |
Resolved the conflict of @mattdesl 's pull request: #8439
The only change I made in the example is that I use Float type on both diffuse and normal attachments because using different types doesn't seem to be working due to the issue 5 in https://www.khronos.org/registry/gles/extensions/EXT/EXT_draw_buffers.txt