Terrain Puddles - Terrain shader Specularity map (646074)

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)

I’m using terrain composer so I would prefer some easy interface - in the attachment you can see how it looks like when I’m using Unity’s terrain shader. I need to have one more slot for Specular map.

anyone?

Sucks to answer it by myself, when it’s that easy…

To make nice wet mud effect, it’s enough to choose “Built In StandardMaterial 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.



I did what you write but i dont have good result, what im doing wrong ?

Here is my result

It looks like it is using aplha chanel as albedo. Do you have it as one file (tif, tga or anything that can use alpha channel? (note that png has it’s own style of using alphas)

I tried it at Unity 5.3.2 now and it’s working with no further modifications. Could you please upload your texture somewhere (here or expirebox.com for instance)?

Photoshop psd file format is the best and easy to use choice to make the specular map textures.

+Normal map

Indeed it is good for testing and experimenting, but due to size it’s better to use TGA of TIFF afterwards.

Thanks for the video, sucks it didn’t come earlier :smile:

File type is not important. When you import a image into project, Unity convert it to platform specific format.
Don’t forget to watch the part 2 for normal mapping