prvi_treti Posted March 26, 2015 Share Posted March 26, 2015 Hello there, As title suggest I am looking for a way to color certain parts of assets on the fly on client side. What I am trying to achive is something like So I'd like to ask if it is possible with canvas image manipulation or will need a pure JS library, I also wonder if any elegant maskless solution is possible. Thanks in advance. Quote Link to comment Share on other sites More sharing options...
sanojian Posted March 27, 2015 Share Posted March 27, 2015 I wrote a blog post on this very topic. Build a Dynamic Texture Atlas in Phaser I am using a palette in the texture atlas to color all of the other textures. It is somewhat specific to Phaser but I hope you find it useful. prvi_treti 1 Quote Link to comment Share on other sites More sharing options...
prvi_treti Posted March 29, 2015 Author Share Posted March 29, 2015 I wrote a blog post on this very topic. Build a Dynamic Texture Atlas in Phaser I am using a palette in the texture atlas to color all of the other textures. It is somewhat specific to Phaser but I hope you find it useful. Thanks for response, it was quite useful. Seems I will need a "tone map" for specific color instead of palette though for non-pixel art. 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.