Hi,
I need to render simple trees on ios and android devices. I am not using the build in trees for the build in terrain. I tried the build in transparency->cutout shader and alpha blend shader. What I need is:
- fog should be used
- alpha blended for better performance on android (and better visual result)
- correct sorting of leaves
- nice to have double sided
Currently instead of two intersected planes I made four planes in four gameobjects with one common edge. That fixes the sorting...
Shader for trees vegetation foliage
I need to render simple trees on ios and android devices. I am not using the build in trees for the build in terrain. I tried the build in transparency->cutout shader and alpha blend shader. What I need is:
- fog should be used
- alpha blended for better performance on android (and better visual result)
- correct sorting of leaves
- nice to have double sided
Currently instead of two intersected planes I made four planes in four gameobjects with one common edge. That fixes the sorting...
Shader for trees vegetation foliage