Rendering iridescent coating

In a free moment I was play­ing around with the iri­des­cent coat­ing fea­ture of my Phys­i­cal­Ma­te­r­ial shader when I noticed I hadn’t posted an exam­ple of this fea­ture yet, so here we go.

Hard surface material with iridescent coating

Notice the soap-​​like coat­ing around the statue. This some­what uncom­mon opti­cal phe­nom­e­non is called iri­des­cence and is, to quote Wikipedia, “caused by mul­ti­ple reflec­tions from multi-​​layered, semi-​​transparent sur­faces in which phase shift and inter­fer­ence of the reflec­tions mod­u­lates the inci­dent light (by ampli­fy­ing or atten­u­at­ing some fre­quen­cies more than others)”.

Right.

Any­way, I built it into my shader because Maxwell’s shad­ing sys­tem offers the fea­ture and that’s what my shader is based on.
Not that I have the slight­est idea what I would per­son­ally use this effect for at the moment, but I’m sure it has its uses in some productions.

PhysicalLight

This advanced light shader is designed to be phys­i­cally accu­rate in its base con­fig­u­ra­tion but can be eas­ily mod­i­fied for artis­tic effect.

PhysicalLightPhysicalLightPhysicalLightPhysicalLight

Phys­i­cal­Light is meant to work with Phys­i­cal­Cam­era — sim­ply set the lens shader to a real­is­tic pho­to­graphic expo­sure and your Phys­i­cal­Lights will ren­der as you would expect real­is­tic lights within the scale of your scene.

Unlike most light shaders in biased ren­der­ing engines, Phys­i­cal­Light does not take arbi­trary input val­ues: Instead, you can enter (or choose from a use­ful range of pre­sets) your light’s color tem­per­a­ture and lumi­nance in watts, which actu­ally cor­re­lates to real world val­ues. The shader sup­ports area lights, soft shad­ows and IES pro­files for even more real­is­tic effects.

Phys­i­cal­Light was mod­eled after Maxwell’s light model to ensure the utmost phys­i­cal accu­racy while at the same time pro­vid­ing quick ren­der times.

Usage

Phys­i­cal­Light can be used to real­is­ti­cally sim­u­late arti­fi­cial light sources such as elec­tric bulbs, can­dle flames and flu­o­res­cent tubes.