0
Аяқталған

Normals on terrain shaders

Alon Tako 9 year бұрын updated by JayWeston 8 year бұрын 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
Аяқталған
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
Аяқталған
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.