Normal Map for TerrainTool

hi,

I know, it’s not possible from scratch to add e.g a Normalmap Shader to the Terraintexture.

Our workaround would have been now to export a created Terrain via Script as Obj, this works fine. After modifying the Obj in Z-Brush and reimporting it in Unity it’s just empty(Obj is 27mb big), when importing the same Obj into Max it’s fine.

Is there a way how to handle my case, if I want Normalmaps on Terrain? All new top games have Normalmaps on their Terrain, why doesn’t Unity offer Normalmaps support for Terraineditor?

The best would be, to import a Mesh with Normalmap and convert it into a Terrain object but this function is also not supported. Problem with importing Meshes and using them instead a real Unity Terrain is, I’m nomore able to place trees, plants and config other values as LOD/Wind and other global Terrain attributes…

Normalmaps on Terrain is a must. :wink:

Its very well possible but you need to replace the terrain shader cause the terrain doesn’t use materials at all.

As a starting point, see http://forum.unity3d.com/threads/57592-updated-Unity-3-started-to-port-advanced-terrain-shaders?highlight=advanced+terrain+shader

^ thx für din reply, so eifach isch das aber nöd!

Also he has written in this thread:

So always still NOBODY did achieve officially normalmaps for terrain!? There are few Terrain tools, none supports normalmaps.

How can I “hack” the default shader for splatmaps of the terrain? Over the framework of Unity3d there is no function or variable, where I can modify the default shader for terrain. Also after I upgraded this shader, how will I work on it? -I estimate I’ll again have to export the Terrain as Obj. into Z-Brush and import it again into Unity3d…

To modify the default shader, you need to download the builtin shader zip from resources - assets at the top and rewrite the one thats in there and place it in your project into the resources folder. that will overwrite the one that comes unity internal.

And no you won’t export anything
If you want to do that you need to drop the idea of using the terrain cause its meaningless, better do it directly in the modeller then

try this:

http://forum.unity3d.com/threads/63282-Bump-maps-for-built-in-terrain?highlight=bump+map+terrain

This has worked for me :slight_smile:

@dreamora: Merci für dä Tipp! If I can’t get it work another way, I’ll come back to it. Thanks!

@3dDude: Damn dude, you’re a 3dDude :o) … I’ll just check it now! Wow thank u so much.