Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

Can I Custom terrain's brushes of unity?

Discussion in 'Editor & General Support' started by czx_main, May 24, 2010.

  1. czx_main

    czx_main

    Joined:
    Feb 18, 2009
    Posts:
    172
    Hello :D
    Create and edit terrain's brushes was like the photoshop?

    Thank all
     

    Attached Files:

  2. andeeeee

    andeeeee

    Joined:
    Jul 19, 2005
    Posts:
    8,768
    There's an explanation of how to do this in this thread.
     
  3. Balmung

    Balmung

    Joined:
    May 9, 2010
    Posts:
    40
    Thx, have totally overseeing this thread, that help me much. When there is interest i can make a set of use full brushes (have ideas that i will test first) or is there already a set?

    Are there more things in Unity like this custom brushes that should everyone know?

    Edit: Args, problem! As i saw the tutorial at the link is for the mac version, can't get it work on windows because pic2icon is mac only.
     
  4. br0kenp0ly

    br0kenp0ly

    Joined:
    Jun 3, 2008
    Posts:
    481
    Hey guys!
    I did some testing with brushes today and windows users only need to save out a .png file with transparency as alpha. Then you should just create a folder called "Gizmos" in your project folder and add the brushes as brush_0.png, brush_1.png and so on into that folder.
     

    Attached Files:

  5. Balmung

    Balmung

    Joined:
    May 9, 2010
    Posts:
    40
    I test it and it works perfect, many many thanks, that is really great. You don't know how great it is, but i make a picture of it to show you what i specially mean. ;)

    Edit: here is the picture i mean:


    Too bad there is no option to rotate a brush, so i must do different one.

    P.S. can it be, that Photoshop CS4 do not support transparency at PNG? Must done the brush with a much older version of Paint Shop Pro, no problem there.
     
  6. Balmung

    Balmung

    Joined:
    May 9, 2010
    Posts:
    40
    I have made short 20 Brushes, some useful, some more an examples for your own imagination.

    brush_0 and 1 can good used for mountens (erode), 1 is also good at max. size to make a grassland with light flat hills, i like how it looks. The next 4 brushes are square version of the first 4 round one in unity. Than there are some brushes for ramps/slopes (like in the picture of my last post), bad that there are no rotating and scaling for brushes, where here very useful (and from all this brushes only one where needed). The last two are more examples.

    This is for the Windows version, dont know if it works with that tutorial in the Mac version too.
     

    Attached Files:

    kiriel62 likes this.
  7. czx_main

    czx_main

    Joined:
    Feb 18, 2009
    Posts:
    172
    :D :D Oh~~! Thank you very much!! Thank all once again :D
     
  8. czx_main

    czx_main

    Joined:
    Feb 18, 2009
    Posts:
    172

    you can create transparency at PNG by Macromedia Fireworks. :D :D
     
  9. Balmung

    Balmung

    Joined:
    May 9, 2010
    Posts:
    40
    Have not Fireworks here, but its ok with the old psp, its no bad software, used it for years, but psp like it was is death since Jasc is no more.

    Customs brushes makes many much easier for me, good thing. :D
     
  10. spaceMan-2.5

    spaceMan-2.5

    Joined:
    Oct 21, 2009
    Posts:
    710
    good work guys... !
     
  11. Ayce

    Ayce

    Joined:
    Jun 8, 2008
    Posts:
    101
    Can't quite figure out how to get these to work. I downloaded the file, and put the brushes in a gizmos folder in my assets, but how to use them on the terrain is another matter. I looked at the old thread regarding this, but the info is old and I'm unsure if that method still works. I'm going to try dropping them in the resources folder and see what happens, hope I don't break Unity.

    O.K. That works. :)
     
  12. Grady Lorenzo

    Grady Lorenzo

    Joined:
    Jan 18, 2010
    Posts:
    407
    fonctionne parfaitement!! thank you very much, now we are talking!!
     
  13. herpderpy

    herpderpy

    Joined:
    Mar 9, 2010
    Posts:
    477
    Very well done - Great examples. I'll be using them in future projects, should save a lot of people a heck of a lot of time!

    Thanks!
     
  14. pinkhair

    pinkhair

    Joined:
    Dec 17, 2010
    Posts:
    141
    For a proper alpha channel png file, look for the (free) SuperPNG plugin for Photoshop. As a side benefit it is faster and creates smaller files.
     
  15. Dreamora

    Dreamora

    Joined:
    Apr 5, 2008
    Posts:
    26,601
    signed
    even a good decade after SuperPNG was done for PS6, Adobes own PNG exporter still is crap like hell (and that although they have the top notch PNG user inhouse with Fireworks where PNG is used in a form as powerfull as PSD for Photoshop)
     
  16. WinningGuy

    WinningGuy

    Joined:
    Aug 10, 2009
    Posts:
    884
    I'm unable to get this to work. I put the Gizmos folder in my Project Folder, parallel to Assets and Library.

    Am I doing something wrong?

    Also, when doing a search, I don't see any other files that have the name "brush" in them. Are the default files hidden?
     
  17. Dreamora

    Dreamora

    Joined:
    Apr 5, 2008
    Posts:
    26,601
    it needs to be in Assets
    Stuff outside the assets basically don't exist.

    and the default files aren't hidden, they are resources in the binary itself, not distinct outside
     
  18. WinningGuy

    WinningGuy

    Joined:
    Aug 10, 2009
    Posts:
    884
    Awesome. Thanks!
     
  19. 88er

    88er

    Joined:
    May 8, 2009
    Posts:
    9
    thx.it's very useful!
     
  20. zeropoid

    zeropoid

    Joined:
    Sep 20, 2011
    Posts:
    28
    Please, please, please!! Help! I am using Unity 3.4 and cannot do this trick. I've donloaded "Gizmos", placed it under Assets folder of my project and nothing happens((( I realy needed this... Please give me a step by step instructions.
     
  21. Rush-Rage-Games

    Rush-Rage-Games

    Joined:
    Sep 9, 2010
    Posts:
    1,997
    Wow, awesome! Thanks everyone!
     
  22. jwilliamsen

    jwilliamsen

    Joined:
    Aug 8, 2010
    Posts:
    56
    For Windows Users: 1) Create your PNG with a transparent background. 2) Create a folder in your Assets folder called "Gizmos" 3) Place your created PNG's in that folder. 4) If the brushes don't show up, you need to *restart* Unity, and they should then show up in your brush palette.
     
  23. jvyda

    jvyda

    Joined:
    Dec 3, 2008
    Posts:
    2
    Place your brushes in a folder named "Gizmos" and put it to your project assets folder. Restart unity and bang it works.
     
  24. Cody-Rauh

    Cody-Rauh

    Joined:
    Oct 12, 2013
    Posts:
    256
    Sorry to Necro this post, but I have followed the instructions and not getting the result. am i doing something wrong?

    I created Gizmos and put it inside asset folder, then put in my brush_10.png it shows in project listing but no terrain brush option for use. I have also restarted Unity a couple times.

    Edit, won't work unless you name them in order starting from 0.
     
    Last edited: May 2, 2017
unityunity