Lab · Canvas · JavaScript
Origami textures
Every crane uses the same shader. The only difference is a per-object attribute, mtoa_constant_mappath, that tells the shader which texture to read.
Hover a crane to inspect it.
From my M.O.O.M. Shader project. A Python script gave each object its own texture path, and an OSL shader read that path at render time. The catch I hit: duplicating an object after running the script copies the attribute too, so every copy ends up with the same texture. Tick the checkbox to see it.
