unity-triplanar-terrain-cliff-shader
unity-triplanar-terrain-cliff-shader copied to clipboard
drop-in replacement shader to add triplanar cliffs to Unity terrain (built-in 3D pipeline, 2021.2+)
I'm not going to test this on any other OS / platforms / Unity versions, but if anyone else does + wants to post their experiences here then that's cool
if your terrain has more than 4 terrain layers, unity renders additional terrain passes with another splatmap + add-pass shader idk how this interacts with the firstpass shader though? is...
there's no triplanar rendered into the terrain base map shader currently but maybe it should be? no ETA on this because I don't need it myself, but PRs are welcome
for some reason, triplanar stuff breaks when Draw Instanced is enabled on a terrain ideally, it should work for instanced terrain too no ETA on a fix because I don't...