# \#screenshot

**URL:** https://forum.babylonjs.com/tag/screenshot/78.md

[Latest](https://forum.babylonjs.com/latest.md) · [Categories](https://forum.babylonjs.com/categories.md) · [Tags](https://forum.babylonjs.com/tags.md)

---

## [Create screenshot using render target, and report an error on iOS “Can't find variable:OffscreenCanvas”](https://forum.babylonjs.com/t/create-screenshot-using-render-target-and-report-an-error-on-ios-cant-find-variable-offscreencanvas/43878)

<div class="topic-metadata">

**Author:** [@ye\_zhang](https://forum.babylonjs.com/u/ye_zhang)\
**Replies:** 7\
**Last updated:** [June 16, 2026, 10:42am UTC](https://forum.babylonjs.com/t/create-screenshot-using-render-target-and-report-an-error-on-ios-cant-find-variable-offscreencanvas/43878 "2026-06-16T10:42:20Z")

</div>

hi, I use babylon tools api to generate screenshot from Render Scenes To .png Files | Babylon.js Documentation when I CreateScreenshotUsingRenderTarget, it can always produce screenshots normally But when I use Creat…

---

## [Problems with generating game character portraits (using screenshots, separate canvas)](https://forum.babylonjs.com/t/problems-with-generating-game-character-portraits-using-screenshots-separate-canvas/61965)

<div class="topic-metadata">

**Author:** [@Panuchka](https://forum.babylonjs.com/u/Panuchka)\
**Replies:** 6\
**Last updated:** [January 2, 2026, 4:16pm UTC](https://forum.babylonjs.com/t/problems-with-generating-game-character-portraits-using-screenshots-separate-canvas/61965 "2026-01-02T16:16:44Z")

</div>

Hi everyone! I’m trying to create a portrait image of the character of my game using a separate camera, but I have some issues that I’m not sure how to resolve! This is supposed to be kind of like your profile image. …

---

## [Concurrent CreateScreenshot Using RenderTargetAsync breaks rendering](https://forum.babylonjs.com/t/concurrent-createscreenshot-using-rendertargetasync-breaks-rendering/60516)

<div class="topic-metadata">

**Author:** [@kzhsw](https://forum.babylonjs.com/u/kzhsw)\
**Replies:** 6\
**Last updated:** [September 17, 2025, 9:11am UTC](https://forum.babylonjs.com/t/concurrent-createscreenshot-using-rendertargetasync-breaks-rendering/60516 "2025-09-17T09:11:13Z")

</div>

Engine: WebGL2 Version: 8.27.0 Playground: Babylon.js Playground Steps to reproduce: Open the playground Babylon.js Playground Expected: CreateScreenshotUsingRenderTargetAsync does not change rendering effect. Actua…

---

## [How to troubleshoot CreateScreenshot "hanging"?](https://forum.babylonjs.com/t/how-to-troubleshoot-createscreenshot-hanging/58290)

<div class="topic-metadata">

**Author:** [@Tom\_Haddon](https://forum.babylonjs.com/u/Tom_Haddon)\
**Replies:** 6\
**Last updated:** [May 7, 2025, 2:45pm UTC](https://forum.babylonjs.com/t/how-to-troubleshoot-createscreenshot-hanging/58290 "2025-05-07T14:45:27Z")

</div>

Hi Folks, I’m trying to create a page that generates a number of screenshots for me. I want to do this by creating a bunch of cameras in an array, and then adding an onReadyObservable that iterates through them and gene…

---

## [Engine at DumpTools is not being disposed properly](https://forum.babylonjs.com/t/engine-at-dumptools-is-not-being-disposed-properly/54259)

<div class="topic-metadata">

**Author:** [@Marcin\_Zamelski](https://forum.babylonjs.com/u/Marcin_Zamelski)\
**Replies:** 3\
**Last updated:** [October 21, 2024, 8:00pm UTC](https://forum.babylonjs.com/t/engine-at-dumptools-is-not-being-disposed-properly/54259 "2024-10-21T20:00:29Z")

</div>

Hello, we run into issue with using CreateScreenshotUsingRenderTargetAsync after one of the recent updates. After disposing of the engine and then creating new one (eg. exiting and entering product page again) running Cr…

---

## [Possible issue with screenshots (RTT) and instanced meshes](https://forum.babylonjs.com/t/possible-issue-with-screenshots-rtt-and-instanced-meshes/51688)

<div class="topic-metadata">

**Author:** [@dgorbash](https://forum.babylonjs.com/u/dgorbash)\
**Replies:** 15\
**Last updated:** [September 11, 2024, 2:05pm UTC](https://forum.babylonjs.com/t/possible-issue-with-screenshots-rtt-and-instanced-meshes/51688 "2024-09-11T14:05:48Z")

</div>

Hi BJS team, I faced a strange behavior of CreateScreenshotUsingRenderTarget when a scene contains instanced meshes. Under some conditions, the resulting screenshot misses meshes that have instanced “children”. Details…

---

## [Wrong function signature type for Create Screenshot Using RenderTarget](https://forum.babylonjs.com/t/wrong-function-signature-type-for-create-screenshot-using-rendertarget/53233)

<div class="topic-metadata">

**Author:** [@bowald](https://forum.babylonjs.com/u/bowald)\
**Replies:** 3\
**Last updated:** [September 6, 2024, 6:34am UTC](https://forum.babylonjs.com/t/wrong-function-signature-type-for-create-screenshot-using-rendertarget/53233 "2024-09-06T06:34:25Z")

</div>

Hi BabylonJS team In current version 7.24 the type definition for CreateScreenshotUsingRenderTarget (and CreateScreenshotUsingRenderTargetAsync) is missing the last argument customizeTexture-callback. Not sure how many…

---

## [The color output of OutputRenderTarget is incorrect when defaulting on Rendering pipeline](https://forum.babylonjs.com/t/the-color-output-of-outputrendertarget-is-incorrect-when-defaulting-on-rendering-pipeline/53191)

<div class="topic-metadata">

**Author:** [@brightMoon](https://forum.babylonjs.com/u/brightMoon)\
**Replies:** 5\
**Last updated:** [September 3, 2024, 5:48pm UTC](https://forum.babylonjs.com/t/the-color-output-of-outputrendertarget-is-incorrect-when-defaulting-on-rendering-pipeline/53191 "2024-09-03T17:48:38Z")

</div>

See also： I need to dynamically create a camera and take a screenshot using OutputRenderTarget, However, when the scene has a Default Rendering pipeline, the color output is in linear space

---

## [Issue with double engine instancing after creating a screenshot](https://forum.babylonjs.com/t/issue-with-double-engine-instancing-after-creating-a-screenshot/50241)

<div class="topic-metadata">

**Author:** [@Fli](https://forum.babylonjs.com/u/Fli)\
**Replies:** 3\
**Last updated:** [May 2, 2024, 2:25pm UTC](https://forum.babylonjs.com/t/issue-with-double-engine-instancing-after-creating-a-screenshot/50241 "2024-05-02T14:25:51Z")

</div>

Hello all, I am currently working on upgrading my project from babylonjs version 6.43.0 to version 7.5.0. and i’m encountering a issue: The issue started when i tried to use some functionality to show gui elements when…

---

## [Any option in CreateScreenshot UsingRenderTarget function to select colorsheme between rgb or cmyk](https://forum.babylonjs.com/t/any-option-in-createscreenshot-usingrendertarget-function-to-select-colorsheme-between-rgb-or-cmyk/42939)

<div class="topic-metadata">

**Author:** [@Soniya\_Kukreja](https://forum.babylonjs.com/u/Soniya_Kukreja)\
**Replies:** 3\
**Last updated:** [August 16, 2023, 11:54pm UTC](https://forum.babylonjs.com/t/any-option-in-createscreenshot-usingrendertarget-function-to-select-colorsheme-between-rgb-or-cmyk/42939 "2023-08-16T23:54:00Z")

</div>

Hello Folks, I have a client requirement to choose an option between RGB or CMYK while he is saving screenshots of the scene, Do we have any feature in Babylon js for this? Thank you so much in advance

---

## [How can I compare the screenshot and material quality of my own model to that of the Google Model Viewer's render fidelity tool?](https://forum.babylonjs.com/t/how-can-i-compare-the-screenshot-and-material-quality-of-my-own-model-to-that-of-the-google-model-viewers-render-fidelity-tool/42081)

<div class="topic-metadata">

**Author:** [@jayy.96](https://forum.babylonjs.com/u/jayy.96)\
**Replies:** 8\
**Last updated:** [July 6, 2023, 4:00pm UTC](https://forum.babylonjs.com/t/how-can-i-compare-the-screenshot-and-material-quality-of-my-own-model-to-that-of-the-google-model-viewers-render-fidelity-tool/42081 "2023-07-06T16:00:39Z")

</div>

For screenshot comparison and material quality checks, we use imagemagick. So, my concern is: Is it worthwhile to use the render fidelity tool in Google Model Viewer for the same purpose, or is imagemagick a better optio…

---

## [Screenshots using custom #ifdef block within a PBRCustomMaterial](https://forum.babylonjs.com/t/screenshots-using-custom-ifdef-block-within-a-pbrcustommaterial/42144)

<div class="topic-metadata">

**Author:** [@Marian\_Becher](https://forum.babylonjs.com/u/Marian_Becher)\
**Replies:** 3\
**Last updated:** [July 4, 2023, 3:46pm UTC](https://forum.babylonjs.com/t/screenshots-using-custom-ifdef-block-within-a-pbrcustommaterial/42144 "2023-07-04T15:46:10Z")

</div>

Hi together, this may be a bit specific but I try my best to generalize my issue/question. Qustion / Issue I ran into a problem with CreateScreenshotUsingRenderTargetAsync() using a custom PBR shader that has its own #…

---

## [Icon like screenshots of 3dmodel](https://forum.babylonjs.com/t/icon-like-screenshots-of-3dmodel/41762)

<div class="topic-metadata">

**Author:** [@Simon\_Fritz](https://forum.babylonjs.com/u/Simon_Fritz)\
**Replies:** 3\
**Last updated:** [June 20, 2023, 9:53pm UTC](https://forum.babylonjs.com/t/icon-like-screenshots-of-3dmodel/41762 "2023-06-20T21:53:07Z")

</div>

Hi together, i would like to generate icons directly from a 3d model using. Does anybody has an idea how to achieve this? Iam very new to babylon so i dont know much about it. Thx for your help. here you finde an exam…

---

## [Is it possible to get the depth data of the screenshot image](https://forum.babylonjs.com/t/is-it-possible-to-get-the-depth-data-of-the-screenshot-image/41690)

<div class="topic-metadata">

**Author:** [@Chen\_Chen](https://forum.babylonjs.com/u/Chen_Chen)\
**Replies:** 3\
**Last updated:** [June 19, 2023, 12:34pm UTC](https://forum.babylonjs.com/t/is-it-possible-to-get-the-depth-data-of-the-screenshot-image/41690 "2023-06-19T12:34:15Z")

</div>

Hello Everyone, I realized that with Babylon.js, it is possible to capture the screenshot from a specific active camera at a specific view angle: https://doc.babylonjs.com/features/featuresDeepDive/scene/renderToPNG Ho…

---

## [Disabling ClearCoat results in missing object within next Screenshot](https://forum.babylonjs.com/t/disabling-clearcoat-results-in-missing-object-within-next-screenshot/34479)

<div class="topic-metadata">

**Author:** [@Marian\_Becher](https://forum.babylonjs.com/u/Marian_Becher)\
**Replies:** 5\
**Last updated:** [October 5, 2022, 1:57pm UTC](https://forum.babylonjs.com/t/disabling-clearcoat-results-in-missing-object-within-next-screenshot/34479 "2022-10-05T13:57:13Z")

</div>

Hello together, I’ve found a strange bug regarding screenshots and clearcoat: After disabling the clearcoat property of an PBRMaterial the object becomes invisible within the next Screenshot. If I do another screenshot …

---

## [How to screenshot only part of the canvas with RenderTargetTexture](https://forum.babylonjs.com/t/how-to-screenshot-only-part-of-the-canvas-with-rendertargettexture/32771)

<div class="topic-metadata">

**Author:** [@pikachu](https://forum.babylonjs.com/u/pikachu)\
**Replies:** 5\
**Last updated:** [August 29, 2022, 10:59am UTC](https://forum.babylonjs.com/t/how-to-screenshot-only-part-of-the-canvas-with-rendertargettexture/32771 "2022-08-29T10:59:52Z")

</div>

Hello guys, Let’s say I have a box with a certain width and height (which is not constant,dimensions might change) and I need to take a screenshot of it zoomed in as much as possible while fitting the whole box in the s…

---

## [GUI elements not visible on screenshot taken with Babylon.js Tools](https://forum.babylonjs.com/t/gui-elements-not-visible-on-screenshot-taken-with-babylon-js-tools/32404)

<div class="topic-metadata">

**Author:** [@pikachu](https://forum.babylonjs.com/u/pikachu)\
**Replies:** 12\
**Last updated:** [August 1, 2022, 2:30pm UTC](https://forum.babylonjs.com/t/gui-elements-not-visible-on-screenshot-taken-with-babylon-js-tools/32404 "2022-08-01T14:30:00Z")

</div>

Hi guys, I am working on a feature where I need to capture screenshots of the scene. My scene has GUI elements in it and for some reason GUI elements don’t show on the screenshot. Any idea why? I have used Tools.CreateS…

---

## [Screenshot tool does not seem to respect camera argument?](https://forum.babylonjs.com/t/screenshot-tool-does-not-seem-to-respect-camera-argument/31167)

<div class="topic-metadata">

**Author:** [@ajp](https://forum.babylonjs.com/u/ajp)\
**Replies:** 2\
**Last updated:** [June 15, 2022, 6:13pm UTC](https://forum.babylonjs.com/t/screenshot-tool-does-not-seem-to-respect-camera-argument/31167 "2022-06-15T18:13:13Z")

</div>

If I use the BABYLON.Tools.CreateScreenshot function and pass it a camera which is not in the scene.activeCameras list it seems to silently ignore it and uses the active camera instead. At least that’s what I thought an…

---

## [Screenshots and framebuffer problems](https://forum.babylonjs.com/t/screenshots-and-framebuffer-problems/26066)

<div class="topic-metadata">

**Author:** [@Alex\_B](https://forum.babylonjs.com/u/Alex_B)\
**Replies:** 22\
**Last updated:** [December 20, 2021, 5:50pm UTC](https://forum.babylonjs.com/t/screenshots-and-framebuffer-problems/26066 "2021-12-20T17:50:57Z")

</div>

We noticed that someone else was having a similar issue HERE, but we are getting similar behavior when running Babylon in Chromium on NVidia Docker containers. Here are some of the things we’ve noticed. This does not …
