Jump to content

Reusing EffectsComposer result


Rakasis
 Share

Recommended Posts

I have an effectsComposer creating a result that is heavy in white. 

 

var composer = new THREE.EffectComposer(renderer);
var renderPass = new THREE.RenderPass(shaderHeavyScene, camera);

composer.render(delta)

 

In the same project I have a material and scene with with a second image loaded into it. 

 

When I replace: composer.render(delta);

with: renderer.render( secondImageScene, camera );

 

I can see my secondary image loaded into the three.js canvas.  

 

My plan was to multiply the white heavy image of effectsComposer over the secondImageScene. (Revealing secondImageScene through the white)

 

My question is this: How would I go about multiplying the end result of the effectsComposer overtop of secondImageScene?

 

 
            
 
Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...