OSL Node
Many Objects One Material


main index


Introduction

For reasons of look-dev efficiency it is highly desirable to use one material to shade multiple objects. For example, a scene of a port facility with hundreds of shipping containers or a scene showing thousands of items of debis.


What is Expected?

You are to render a scene containing at least 12 objects all shaded by a single material with a custom OSL node that will randomly apply one of several texture maps. The maps might effect,
    the diffuse color,
    the diffuse gain,
    the specurity,
    presence and/or
the displacement of the objects.