Shader Mixer - MDL and wood

I was going to mess around with writing my own procedural wood shader for Iray. Found a great online tutorial about using Shader Mixer and it even had a "Wood Noise" based filter. I was disappointed when I realized the built-in "wood" block was 3Delight (RSL) only and there is no equivalent in the Iray (MDL) blocks. Perlin noise is great, but translating how to turn that into wood grain is beyond my understanding right now. Looking for tutorials for MDL based wood shaders mostly directs me to Surface Designer which has a lot of those functions built-in as well. Other MDL wood shaders seem to rely heavily on 2D texture files rather than procedural generation. Anyone have any clues / pointers / links that I haven't found yet?

Comments

  • JonnyRayJonnyRay Posts: 1,744

    Thanks for those. I've taken a look at them.:)

    I also found a few articles on using Perlin noise generation for specific texture needs. Mostly around multiplying it by sine or cosine functions to generate wood grain etc.

    During my research, I saw a great wood shader someone created for Blender. Not only could you adjust the colors, ring densities, etc. But you could switch between a single piece of wood and planks or boards just by flipping an option. That would make a procedural wood shader very versatile. I'd like to play around and see if I could get it to work in DS.

  • DrPingyDrPingy Posts: 78

    In shader mixer is a brick for Perlin noise texture, see attachment

     

    MDL_Perlin.png
    376 x 949 - 82K
  • JonnyRayJonnyRay Posts: 1,744

    Yeah, I was playing with Perlin Noise this weekend. Found a good reference on how to use it to perturb a concentric ring pattern to make a simple wood shader. Was working on that, but something must be wrong in the way I have the shader blocks built because it crashes DS every time I try to render a simple cube with it.

Sign In or Register to comment.