TerrainPainting on a custom mesh

hello people,

Cause Unity3D only allows painting on a terrain object i have created a script that allows you to paint on a custom mesh object.
My script is made for a blending shader (such as the one unity terrain uses).
Just import the package and begin painting. below is a short video about it.

Ideas improvement:

Faster large brush (the larger the brush the slower it gets)
Custom brushes
support for other shader
etc

download (Unity3) : Click here

download (Unity2.6) : Click here

Just watched the video, but from what I’ve seen so far this looks pretty damn impressive!

I’ll give you some feedback as soon as I’ve tested it.

Keep it up.

Cool, I’ll give it a try. Looks like it would work great for situations where you need to blend a mesh into a terrain (like when creating a cave).

Never mind, I’m using chrome, and had to right click,save as. :sweat_smile:

Looks cool! I can see where this would be useful.

Huston…We have a problem.

Uploaded with ImageShack.us

As you can see, there is nothing in the TerrainMaterial slot, and some errors in the console. I get these even with a fresh project. (following the video.)
The first one I can understand why, but not sure about the rest.
Using 2.6.1

Hmm could be this only works for unity3…

Bravo!!, looking for this since I landed here. I’ll keep a close eye on this.

Bummer :frowning:

if i have a little time i’ll upload one for 2.6…

I couldn’t see in the video, but is there an upper limit to the number of different terrain textures you can blend via the shader?

I’m looking to write something quite similar to this, and I need possibility of 256 maximum different textures on the terrain, being blended at the same time… Just as a possible bloat.

I know it’s possible in OGL, I’m just not sure about how shaders work… I’ve never bothered with programming shaders.

Cool. :smile:

this will end with uv mapping in 3d app… good work!

a preview of a new version :

didn’t work for me :frowning: said something about some stuff from mac osx is being used or so … don’t have the time right now to upload a image,

So does this just work on mac ?

hmm should be working for the mac. be sure you have a correct mesh with UV’s… ? or past the whole error here :slight_smile:

Darn. Everything is set up per the video, but nothing paints on the plane. Not sure what it could be. I’m using Unity 3.0, Windows7, almost new PC with all updates and a great video card. The shader gives a warning about mixing mac and windows stuff, but I think I see that in the video as well. Any idea on what to do?

Bringing this from the dead: anyone has an updated solution for this one?

1 Like