- Home /
Unlit Terrain Foliage, is it possible?
I'm trying to make the foliage on my terrain completely unlit, and one one color. It looks as if Unity adds shading to it though. Does anyone know if there is a way around this? Or better yet, another implementation that does it better?
Answer by cdrandin · Jul 23, 2014 at 11:55 PM
Yes it is possible, but takes a little work.
Check this out Unlit shader
How would I go about applying it to the foliage system though? That's the problem I'm having.
It depends exactly how this "foliage system" is constructed. Is it by you or Unity?
I way I have seen to create foliage (i.e bunch of leaves falling from a tree and pilling up) is using a particle emitter that doesn't die off, but it does when pile is big enough or is recycling its self. If it is a particle emitter you give it the mesh of the leaf. Give it the unlit shader and light won't affect it.
Unity's foliage system, which is a part of the terrain system. The tool that allow you to place grass and flowers along the terrain.
I am not sure if this will work, but if they include everything then you would just need to take there grass assets and change it a little bit using the unlit shader to stop the shine. Other than that it is already done for you unless you had something different in $$anonymous$$d.