Announcement

Collapse
No announcement yet.

3D gradient map?

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

  • 3D gradient map?

    Something I assumed would be a simple task is turning out to be a head scratcher.

    The task:

    Create a radial gradient map (simple white to black to use as a mask) that can be applied to any complex geometry in 3 dimensions (rather than the typical planar).

    The idea is to apply this material to any complex object and animate sort of a 3D shockwave going through the object. However, everything I've tried is either limited to planar only or falls victim to uvw complications.

    The closest I've come is using bercon gradients but the uvw (even in object xyz mode) scrambled the effect up.

    I've tried looking into finding a shader that creates texture info from intersection with an animated sphere but couldn't find anything useful there either.

    Anybody got any ideas?
    Last edited by White Wizard; 03-11-2016, 09:23 PM.

  • #2
    VrayDistance texture with your animated sphere should work
    Gavin Jeoffreys
    Freelance 3D Generalist

    Comment


    • #3
      I'll have to try it again. It wasn't working properly when I tried it earlier.

      EDIT: I didn't realize it was a render-only material. I tested it in active shade and it does exactly what I needed. Thanks for the suggestion!
      Last edited by White Wizard; 03-11-2016, 10:32 PM.

      Comment


      • #4
        You can also use a gradient ramp and set the gradient type to Mapped and place the vraydistance tex inside the source map. The gradient will be applied to the black to white values the distance map produces during render time and gives you in the end more control over the look.
        Cheers,
        Oliver

        https://www.artstation.com/mokiki

        Comment


        • #5
          EDIT: Sorry. Ignore this post.
          Attached Files
          Last edited by White Wizard; 04-11-2016, 04:29 PM.

          Comment

          Working...
          X