sable Posted June 13, 2017 Share Posted June 13, 2017 I'm looking at trying to incorporate this, a webgl particle wind effect, into a project but am somewhat stuck on how to do so. The wind effect there uses the idea outlined here regarding using textures to store particle positions, and using shaders to update these each frame. What seemed like the obvious solution was to render the final result to a texture (keeping the module self contained, rendering to its own framebuffers and just using the final result in the scene), but I can't seem to find how to do that in Babylon.js. I'm guessing the solution has something to do with render targets, but I couldn't find much documentation. The alternative would be to port the whole thing to Babylon, which again I think would involve rendering to textures (render target texture?). Any pointers on the above would be greatly appreciated. Cheers Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.