First i started off with an image of a fern image like this
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjxD90YwGcHMtgOvGYYzy87JfZtFkk-q2cA7fq9X_uO6IvNWjoYL9lNkZcs1-16ATMHu5Mbpp0fEOmylttaIlmG0edKIb1HPE50BHDgjgEj8J-xdajKhbRTFq49f8mLjAHC6tYeyoixRGaQ/s320/Fern123214.bmp)
then i opend up photoshop and used it to remove the white background and set it to trasnparent getting a result like this. I then exported as a 512x512 image for use in unity
after importing it into unity and inputting it into the terrain script i was then able to paint grass onto my terrain.
the results are pictured above
This is incredibley useful for areas the require foliage as it is easy to get a large amount of different plants by just using stock images and editing them for use in unity
No comments:
Post a Comment
Note: only a member of this blog may post a comment.