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
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
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.
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?