You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it possible to use Data URI's (or similar) to generate textures from canvas elements? If yes, would it be possible to see some sample code showing how to do this?
I tried to generate a grid texture for my ground plane but wasn't able to get it working. I've saved a copy of the generated image and disabled the texture generator for the time being. (Fwiw, it's still early days for glam & I - less than 12 hours have gone into my project so far. A re-write will be coming soon.)
Is it possible to use Data URI's (or similar) to generate textures from canvas elements? If yes, would it be possible to see some sample code showing how to do this?
I'm working on a (proof-of-concept) glam-powered editor at http://projects.psema4.com/glam/3de/
I tried to generate a grid texture for my ground plane but wasn't able to get it working. I've saved a copy of the generated image and disabled the texture generator for the time being. (Fwiw, it's still early days for glam & I - less than 12 hours have gone into my project so far. A re-write will be coming soon.)
Another (of several) use cases that I'd like to look at would embed HTML content via https://github.com/cburgmer/rasterizeHTML.js
The text was updated successfully, but these errors were encountered: