three-landscape
three-landscape copied to clipboard
Tri-planar projection
This would help reduce texture stretching on part of the terrain with extreme hight differentials
Got triplannar projection working, will be adding to next release
Hi - firstly thanks for creating & sharing the project: I'm just poking around it as reference for something I'm working on (that currently has some very dull & uninspired landscape I need to improve!).
Could you point me to where (+ which branch) the changes for the triplanar projection were made?
Sorry @60days - didn't see your question - working on a refactor at the moment so code is a little messy.
In the mean time this is the most straightforward article I've seen on triplanar projection of diffuse textures: http://www.martinpalko.com/triplanar-mapping/
This one goes over normal maps which are more complex: https://bgolus.medium.com/normal-mapping-for-a-triplanar-shader-10bf39dca05a#d715
Is enabled in 0.7.2, see example folder for details