Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 1.33 KB

README.md

File metadata and controls

32 lines (23 loc) · 1.33 KB

three-triplanarmapping

A threeJs shader for object-space triplanar mapping (WIP)

..using CustomShaderMaterial. Thrown together in typescript.

ToDo:

  • World Space shader
  • Extend to emissive, metalness etc
  • Remove unnecessary samples when not all axes have separate textures supplied - use textureX on Y, Z
  • different blend options (only YZ, for example)
  • Clean up and separate material return function from test scene
  • list as package?

Lots of info gleaned from

cheers!

1 2 3