Announcement

Collapse
No announcement yet.

Projection based textures based on direction?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Projection based textures based on direction?

    Hi,

    Is it possible to do a different shader/texture based on the direciton of say a y axis?

    So if you have a cube.

    All faces facing -1 on the Y axis are red
    However all faces on the y axis on the positive direction are blue?

    Obviously we can get different textures based on x,y,z but just wondering if you can also do it even further by direction of these axis?
    Tried using falloff with a direction but I'm just getting a soft blend which isn't working
    Maya 2020/2022
    Win 10x64
    Vray 5

  • #2
    The Triplanar node, do some testing with that.
    https://www.artstation.com/damaggio

    Comment


    • #3
      Yes, that offers three planes. Was hoping if anyone had any ideas for something similar but multi directional on the three planes so you get 6 options in total.
      Or two options per individual axis.

      Tried experimenting on a cube but can't get anything out of it. Hope I make sense!
      Maya 2020/2022
      Win 10x64
      Vray 5

      Comment


      • #4
        computationally expensive, but you could do it with vray dirt and set the axis bias accordingly on each node (-x, x, -y, y, -z, z), then use those as luminance siwtches for a layered shader. would most likely not want to use this in production though maybe performance degradation is not such an issue, you could check

        Comment

        Working...
        X