- Home /
Importing grass texture transparency
Hey guys.
I'm making a game that's cartoony in style and am having trouble figuring out how I can create my own grass textures with the Unity Terrain Engine. I've seen with the provided grass texture that there are the blades of grass and a light to dark green gradient behind it. When used through the Terrain Engine, the gradient has become transparent and only the grass blades remain. I can easily make my own grass blades but what's the deal with this gradient? Do I have to save the file as a specific type e.g. a transparent .png?
Help?
I think the hint is that it says Waves normalmap.
This is really two questions (grass and water) and grass is first in the title. $$anonymous$$ight have more luck posting a separate water question. Then guys who are mad you didn't technically follow forum rules might reply :-)
Ok I'll rename it and remove the water part. I'll also post another question focusing on the wave map. Thanks :)
Answer by Owen-Reynolds · Feb 18, 2013 at 05:00 AM
Yes, the "Stand up" terrain grass uses standard transparency. When you create it, make an alpha/transparency channel and paint/set that (many, many non-unity resources on the best way to paint/autopaint alphas.) Yes, PNG is a common format that can hold transparency (if you try to export as jpeg, it warns you that transparency will be lost.)
Your answer
![](https://koobas.hobune.stream/wayback/20220613092904im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Terrain texture with alpha? 1 Answer
Can I use the original grass texture? 0 Answers
Terrain Being Buggy 0 Answers
baked grass? lightmapping 1 Answer
Details texture casting shadows ? 0 Answers