Hi there,
So I want to create something that allows me to erase a texture using my finger as an input much like an eraser in photoshop. The texture I want to erase is a 2D sprite. I want this to be used for one of the game mechanics in my game but have no idea where to start.
Here is a video I’ve made to demonstrate what I want.
Any Ideas, Help, Suggestions or similar questions would be greatly appreciated. Thank you
this won’t be something that you’re going to easily implement, well… you could do it through a shader, or just update the texture2D every frame. Getting the pixels and removing them manually that way. if you take a look at this: UnityPaint – Arongranberg.com that’s a really good starting base for modifying texture2D’s and it even has a eraser. so just reverse engineer it
Thanks Smitchell I will take a look at this tonight
Heres a better example of what I’m trying to achieve.
It’s still the same principle. Look at the code Aron wrote, it shows you how to erase a texture…
there is nothing to download plz help