brianzinn Posted September 25, 2020 Share Posted September 25, 2020 (edited) I have a playground to reproduce:https://www.pixiplayground.com/#/edit/c0vYlkl14DEuLv1969cOm What I want to do is take a photo by generating a texture from a sprite, but with these lines not commented out (it works without those lines, but not like a "mirror"): // uncomment these on line 74 and it works videoSprite.anchor.x = 1; videoSprite.scale.x = -1 I just get a blank screen texture. I have tried to revert scale/anchor before calling `app.renderer.generateTexture(videoSprite)` without success (maybe I can manually trigger a frame render?). If you are trying out the playground it will ask for video permissions - the video is just put into a texture and nothing further. Thanks. Edited September 25, 2020 by brianzinn Quote Link to comment Share on other sites More sharing options...
jonforum Posted October 4, 2020 Share Posted October 4, 2020 this question hang out, i think very few people have cameras on their pc, include me ! ? Will there be a way to simulate a fake image? to see what the issue and help? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.