Strips shader: a tree bark basic building block

I created a small OSL shader that basically takes a uv map and two images and then subdivides this map into strips and slots, giving each slot its own uv-map. This allows you to randomly distribute two (or more) tileable images. When these images represent regular bark and bark with a crack this could be used to create a randomized bark textures. A simple black and white example mapped to a plane and a cylinder is shown below, the background info including a link to the code is on my blog.


Cheers,

– Michel.

Hi varkenvarken,
Thanks a lot to your effort to obtain parametric UV to textures. I love it.
Have a happy and Nice Year 2015, Michel!