Search Unity

Using objectspace in a shader for consistent texturing regardless of rotation

Discussion in 'Editor & General Support' started by HonoraryBob, Aug 21, 2018.

  1. HonoraryBob

    HonoraryBob

    Joined:
    May 26, 2011
    Posts:
    1,214
    I'm using a triplanar shader to do the texturing, and I thought using objectspace would prevent the "swimming" effect even when rotating the object, but it doesn't. The texture only remains stable if the object moves but not if it rotates. How do I keep it stable in both cases?