- Home /
UnityPaint, some references?
Hello guys, I really need your help.
I searched trough google, but I got no any tut's .
I want to do something like painting with an brush over an texture (sprite).
That's why I need your help, maybe you do know some good tutorials or some good references, or even where should I start to learn to do that.
Thanks from advance. Good Night.
Answer by Owen-Reynolds · Jul 28, 2014 at 10:29 PM
Using getPixels and setPixels, you can directly modify a texture. So, any old brush-paint code should be convertable into Unity.
But, it's really just a matter of using multiple 2D arrays (texture + brush) and weighted averages. Based on the effect you want. I mean, I often build a mesh, sort of like a LineRenderer. But I'm following a single squiggle made by a finger, and I like meshes.
I feel like, if you don't already have an idea for how to do it, there's a lot to learn. Maybe you're just going to have to look for a completed package.
I have some ideas, a little bit.
Yeah I think that that is what I'm going to do, to look for a completed project.
Thank you, by the way, I will look at get and setPixels.
Ooo that's nice. with LineRenderer )), have to look at it :d
Your answer

Follow this Question
Related Questions
A node in a childnode? 1 Answer
Android Tutorial 2 Answers
Tag: Siren is not defined? (Stealth Tutorial) 2 Answers
Complete AI Tutorial? 1 Answer
Animation and Stealth Tutorial 1 Answer