- Home /
How to paint transparent texture on terrain?
I am trying to make an island surrounded by bottomless ocean. Right now the terrain I use for my island suddenly stops, and its weird seeing that edge in the deep water; I'd like to have the extremities of my terrain fade to 100% transparency.
My knowledge of shaders is very limited and I tried following this guide: http://wiki.unity3d.com/index.php/TerrainTransparency but I do not get the result I wanted. I don't know if it is because that resource is too old or if I am doing something wrong.
Any suggestions?
Hey, you need to provide more information. How do you create your terrain? Can you provide screenshot of the island? Is it procedural or hand crafted?
That shader seems to be for Unity 3x, so it may work if the dependencies are changed (not sure how to reference the legacy terrain shader in 5x though, sorry).
There is another method using a depthmask shader, though not sure if it still works in 5x. The exact same solution can be purchased in the asset store.
Alternatively : have you considered just using a very large plane that extends past the terrain?
Your answer
Follow this Question
Related Questions
Transparent Terrain Texture Painting (3.5 Free version) 0 Answers
How to make terrain partially transparent (lower opacity) 1 Answer
Why does the 3D Text shader show specular at certain angles? 2 Answers
Changing custom shader. Add alpha cutout 1 Answer
How would I add transparency to an outline shader? 2 Answers