mop Posted March 11, 2015 Share Posted March 11, 2015 Hi, i am compositing multiple scenes to a final render result. Currently i am not really sure if i am doing things correctly. Either i have hit multiple bugs or i am doing things wrong. So i am asking for feedback and or alternative ways to achieve my goal. So here is what i have (a minimal testcase): http://mop.aries.uberspace.de/glowtestung/ I tried to make a playground file but somehow i keep getting an error: http://www.babylonjs-playground.com/#24BIXP . Some explanation on what i am trying to do: I have a base scene with several objects. Then i have a special scene where i am rendering a few special objects. I want to apply a glow effect on these objects via postprocessing. Finally i have a composite scene. I want to render both scenes as a RenderTargetTexture and then combine them: This should be my final render result. Now i am having multiple problems: 1. Whenever i am using a scene ONLY as a renderTarget multiple BABYLON features won't work: Animations, Physics, Particlesystems (the red box in the example should have an animation).2. How can i apply a post process for one scene only? I want to reuse the same camera (see code comments). Bug? The more i am working with it the more i think that i am working against babylon.js :S How can i achieve my goal? Or am i doing everything alright and i simply hit some bugs? :S Kweihsi Ku 1 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.