Procedural Scales Texture?

Is it possible to create a Procedural Reptillian Scale Texture in Blender Cycles? I’ve been trying but no luck. Has anyone found a way?

Due to the variations of the scales, you may need a fairly complex shader…
You may want to try OSL, as it’s better suited for the purpose.
Here’s some examples (particularly the ‘patterns’ folder)


(link corrected)

The link doesn’t work I think.

What’s OSL? I don’t think I’ve used that before…

OSL is a shading language. With it you can make new textures, filters, shaders, etc. It’s quite powerfull, but it doesn’t work with GPUs.
You can read more about it here: https://github.com/imageworks/OpenShadingLanguage