- Home /
Terrain Puddles - Terrain shader Specularity map
Hello, I'm trying to make puddle/wet mud effect with Unity terrains. I'm stuck as unity doesn't allow to set specularity map onto terrain shader. I know, there is a way, by writing own terrain shader, but I'm new to shaders and I won't be able to optimize it as good as unity's terrain shader.
Do you please know about some (not so expensive) way to get one with specularity map option? Or do you recall some other way, how to make it? (Not sure if I wanna make the terrain as mesh)
Same question was asked here with no answer. Not sure, if I ask there, that it will get more visible then new Q. If so, please be kind and take my apology. http://answers.unity3d.com/questions/1020650/wet-surface-mud-on-terrain.html
Answer by sewy · Jan 11, 2017 at 09:01 AM
So another overthinked problem. Sad I have to answer it by myself..
To make nice wet mud effect, it's enough to choose "Built In Standard" Material in terrain settings dropdown menu and use Albedo map with grayscale alpha channel - see attached files (I separated it but it has to be ONE rgb file with alpha channel)
To make it nicer, place Reflection probe above it - it will reflect skybox as well.
Answer by deepakraj3095cse · Jul 13, 2018 at 02:16 PM
how i make that alpha map !
You can for example desaturate the albedo (or make some other corrections) and hand paint some pure-white spots where you want to have the puddles.