最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - Image Processing with Three.js With Effect Composer - Stack Overflow

programmeradmin7浏览0评论

Looking at the example here:

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!

Looking at the example here: http://threejs/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!

Share Improve this question asked May 5, 2014 at 3:38 user985030user985030 1,6171 gold badge20 silver badges34 bronze badges 2
  • 1 Re-using data: threejs/examples/#webgl_postprocessing_advanced – Dragan Okanovic Commented May 5, 2014 at 10:58
  • I added answer, so it's easier for other users to see it and you can accept answer so we don't confuse others that land onto this topic. – Dragan Okanovic Commented May 5, 2014 at 19:56
Add a ment  | 

1 Answer 1

Reset to default 6

You can take a look at this example: https://threejs/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.

发布评论

评论列表(0)

  1. 暂无评论