Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Image Processing with Three.js With Effect Composer

Looking at the example here: http://threejs.org/examples/#webgl_postprocessing

I'm curious if there is a way to perform this post-processing business on a copy of the original data set. In other words, I want to display the original rendering of my scene in one container, and then would like to display the post-processed scene in another container. How is this done?

Thanks!

like image 528
user985030 Avatar asked Apr 15 '26 14:04

user985030


1 Answers

You can take a look at this example: https://threejs.org/examples/#webgl_postprocessing_advanced

Generally, you render to a offscreen texture (not to the actual screen) and then use that as input texture for any other effect/primitive/whatever that you need to.

like image 130
Dragan Okanovic Avatar answered Apr 17 '26 04:04

Dragan Okanovic



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!