Can I capture the GlowLayer Using Render Target?


Should I be able to capture the GlowLayer with CreateScreenshotUsingRenderTarget?

I read how Particles were added to Screenshot but can’t find anything about GlowLayer. I’m using the following arguments. Am I missing something?

...Engine(canvas3D, true, { preserveDrawingBuffer: true, stencil: true });
...CreateScreenshotUsingRenderTarget(engine, scene.cameras[0] );


Unfortunately the Effect layers do not work on RenderTarget as they are compositing in the main canvas at the end so it won t work with the screenshots as render targets.

Thanks for the reply sebavan. I thought there might be a reason it wasn’t working.