- Home /
Terrain normal map.
Okay so i noticed that there is a "normal map" texture slot in unity's terrain paint tool so i thought i'd make a normal map.I did using CrazyBump but i'm kinda lost on how to apply it.Any help?!?!
Answer by phfatmonkey · Feb 12, 2013 at 08:16 PM
Here's a link that walks you through it:
http://forum.unity3d.com/threads/157140-Unity-4-Beta-terrain-normal-maps-help
But here's the step by step:
Create terrain
Create a material of type Nature > Terrain > Bumped Specular. There won't be a place to apply textures there. That's ok.
Select your terrain and hit the wheel tab (Settings)
Under Base Terrain there is a material slot. Add your newly created material there.
Click the brush tab.
Click the Edit Textures button, then Add Texture.
The window that pops up will allow you to add a diffuse and normal map texture. Click Apply.
Your new texture will fill the terrain if it's the only one. Add more and you can paint them on the terrain.
The only problem though is the terrain is now shiny. Is there a way to change it in the shader perhaps? Or is there a way to make another shader which is just diffuse bump without spec?
Yes, is there an answer to the shininess problem mentioned above?
Not that I have found, cannot seem to find a terrain shader that does bump but not specular :(
Something in the Asset Store I've seen but not tried : https://www.assetstore.unity3d.com/en/#!/content/2680
$$anonymous$$ostiantyn Dvorniks blog with some terrain examples to exa$$anonymous$$e :
http://kostiantyn-dvornik.blogspot.com.au/2013/01/unity-4-cool-sweet-terrain-tutorial.html
http://kostiantyn-dvornik.blogspot.com.au/2013/11/awesome-unity-texturing-terrain-tutorial.html
$$anonymous$$y next step was to download the inbuilt shaders from here, try and write a new one without the specular. Without any shader knowledge this will be hard!
As I'm currently working on a project, I havn't had time to check these and find a good solution, but I will need a decent terrain bump shader soon, so if you find something here or elsewhere that works, please post back with your findings =]
To get rid of the shininess you can select your material and set the Specular Color to black.
Got a solution. Go to the material you made. Click on specular color. $$anonymous$$ake it black. Happy Birthday!
Your answer
Follow this Question
Related Questions
Assigning UV Map to model at runtime 0 Answers
Adding additional maps to the texture layers 0 Answers
help making map! 1 Answer
Terrain heightmap to texture scale 2 Answers
terrain texture problem (L3DT) 1 Answer