CG Shaders – Triplanar Mapping 2

An alternative triplanar technique that produces sharper masks and does not require 3 texture samples to work if you don’t need them. This makes it cheaper if you only need to tile 1 texture, since the uvs will be constructed correctly prior to sampling (no need to mask things off and sample another texture to […]