three-landscape icon indicating copy to clipboard operation
three-landscape copied to clipboard

Tri-planar projection

Open nwpointer opened this issue 3 years ago • 4 comments

This would help reduce texture stretching on part of the terrain with extreme hight differentials

nwpointer avatar Nov 16 '21 06:11 nwpointer

before_after

nwpointer avatar Jan 29 '22 08:01 nwpointer

Got triplannar projection working, will be adding to next release

nwpointer avatar Jan 29 '22 08:01 nwpointer

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?

benferns avatar May 08 '22 11:05 benferns

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

nwpointer avatar Aug 18 '22 01:08 nwpointer

Is enabled in 0.7.2, see example folder for details

nwpointer avatar Dec 11 '22 17:12 nwpointer