You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
renderFromSecondaryScreenWithRenderer(renderer, scene) This creates a texture and puts it in the left corner, the green and pink square
renderFromSecondaryScreenWithEffectPass(renderer, scene) This should create the same image but in the right corner
And 1 more thing, adding EffectPass removes the background, if you comment out the renderFromSecondaryScreenWithEffectPass function call the spinning square background changes, why?
I have no idea what I'm messing up, any help would be appreciated.
Thanks
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello,
I'm trying to create a texture from what EffectComposer renders.
To make it easier I created a demo here:
https://playcode.io/1668684
There are 2 functions
And 1 more thing, adding EffectPass removes the background, if you comment out the renderFromSecondaryScreenWithEffectPass function call the spinning square background changes, why?
I have no idea what I'm messing up, any help would be appreciated.
Thanks
Beta Was this translation helpful? Give feedback.
All reactions