0
Lokið

Normals on terrain shaders

Alon Tako 9 ár síðan updated by JayWeston 9 ár síðan 4
I know this is a known issue, but I see no ticket here.
Unity terrain shaders support normals. I was wondering if this will ever exist in shaderforge, and if not, what can be done otherwise (other than exporting terrain as a mesh).

Answer

+3
Answer
Lokið
Set Normal Space to World, then make a Normal blend mode. Plug in a Normal Dir node into Base, and your normal map into Det.
Under review
You can probably do it, the only problem is that you have no tangent space.
Try setting normal space to local instead of tangent
Tried doing that, the result isn't accurate.
Maybe I'm doing something wrong?
+3
Answer
Lokið
Set Normal Space to World, then make a Normal blend mode. Plug in a Normal Dir node into Base, and your normal map into Det.

This needs to go in the wiki as it worked for me, and it took me ages to realise you can in fact use terrain normals with SF, despite the wiki saying you can't.