Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using "Take screenshot" action doesn't capture the 3D layers. #6418

Open
1 task done
Bouh opened this issue Mar 4, 2024 · 1 comment
Open
1 task done

Using "Take screenshot" action doesn't capture the 3D layers. #6418

Bouh opened this issue Mar 4, 2024 · 1 comment

Comments

@Bouh
Copy link
Collaborator

Bouh commented Mar 4, 2024

Is there an existing issue for this?

Describe the bug

image

This action render only the 2D canvas, but never the 3D canvas.

Steps to reproduce

.

GDevelop platform

Desktop, Web, Mobile

GDevelop version

5.3

Platform info

No response

Additional context

No response

@MTSyntho
Copy link

o dunno anything about gdevelop's internals but with a quick Google search it appears gdevelop takes screenshots using the built-in screenshot function on pixi.js, however since gdevelop uses a different renderer for 3D named three.js, (fun unrelated fact, pandako's extension uses it threejs) it is unable to take a screenshot of anything rendered in three.js due to using pixi.js's screenshot function, now how'd they solve this issue?

Honestly idk, ig just screenshot the game using system api's or smth idk :/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants