0
Fertiggestellt

Normals on terrain shaders

Alon Tako vor 9 Jahren aktualisiert von JayWeston vor 8 Jahren 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).

Antwort

+3
Antwort
Fertiggestellt
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.
Wird überprüft
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
Antwort
Fertiggestellt
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.