- Home /
Terran painting brush resolution.
Hi, everyone! Is it possible to sculpt details with a greater precision then the default one. I've made a custom brush flollowing these steps: http://forum.unity3d.com/threads/15848-Texture-terrain-brush?p=109747&viewfull=1#post109747. Everything works well, but the brush size has to be much bigger then desired in order to be discernable. Basicaly, when I make it small enough to be the proper size I get a mess of a 10-15 pixels instead of the picture I used for the brush. I want to paint some footprints on the ground and a bit puzzled by what I get. I tried to increase the resolution of the brush, but 128x128 brush and 2048x2048 one look exacly the same. So I think that it depends on the terran resolution, but I've increased all that I could in the terran settings. Is it possible to do something about it to be able to paint footprints with the proper size and more detail then 10-15 pixels?
And the picture to illustrate:
Answer by cgcookie · Dec 21, 2012 at 08:48 PM
Hi, When using the terrain system in unity it is designed to allow you to paint terrain areas such as "I want a patch of grass here among my rocks", not for painting details as that would require a very high resolution image or multiple images. So here is what we do:
Attach your detail to a small plane and use it as a projector to project the detail on the terrain, make sure you use layers so it doesn't project the detail onto anything between the plane and the ground.
Using this method also means you can turn off the details when they are not visible and save performance.
Does this help answer your question?
Thanks! A very useful technique. I've found a free decal system in the asset store. Have not tried Unity built-in projectors yet. But there are projection materials only for shadows and lights. Try to learn how to use them a bit late. Thanks again!
Answer by cgcookie · Dec 21, 2012 at 08:48 PM
Hi, When using the terrain system in unity it is designed to allow you to paint terrain areas such as "I want a patch of grass here among my rocks", not for painting details as that would require a very high resolution image or multiple images. So here is what we do:
Attach your detail to a small plane and use it as a projector to project the detail on the terrain, make sure you use layers so it doesn't project the detail onto anything between the plane and the ground.
Using this method also means you can turn off the details when they are not visible and save performance.
Does this help answer your question?
Your answer
Follow this Question
Related Questions
How can I applay a normal map to my terran? 1 Answer
Can you change what resolution "Standalone" is in the Game view? 1 Answer
How do you account for iPhoneSettings.generation not working in the Editor? 2 Answers
Make buttons visible in the editor? 2 Answers
How to work around perspective distortion on very wide displays? 3 Answers