-
-
Notifications
You must be signed in to change notification settings - Fork 110
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
Possible to use canvas as texture? #7
Comments
Hi @iamryanyu, unfortunately, it isn't possible to use canvas as textures yet, however it is on top on my todo list. Thanks, |
Awesome, looking forward to it! 👍 |
Hi @iamryanyu, I've just pushed an update that lets you use canvas as texture, either by inserting a tag inside your plane HTML element or by using a loadCanvases() method. Here is a working example: https://www.curtainsjs.com/examples/simple-canvas-plane/index.html Thanks, |
Wow that's great, thanks for your hard work! |
First of all, thanks so much for this great library!
At the moment, this library allows us to use an image or video as a texture, but I am wondering if there is any way I can use a canvas as a texture?
Many thanks in advance!
The text was updated successfully, but these errors were encountered: