Advertisement

You're blocking ads, which pay for BlenderNation. Read about other ways to support us.

Interference shader for Cycles in OSL

4

prutser writes:

I have implemented a calculation of thin-film interference, or iridiscence, in and on top of metals and dielectrics in Open Shading Language for Cycles. With this script, interference phenomena like oil spills and soap bubbles can be easily rendered in Cycles in a physically-correct way. However, many more materials show some sort of interference effects, like iron after being heated, nacre, thin metal films, car paints, aging copper etc. All these can be rendered in a physically-correct way.

Some examples are shown here:

ZhMH9Ww

And on a model:

wE9dNlJ

The script is available under a CC BY-NC-SA 4.0 license, but of course the output of the script (the material) can be used for any purpose. A .blend file with 33 materials is available for free too from blendswap. Alternatively, see the post at blenderartists.org, for both the file and documentation.

I hope you'll find it useful!

4 Comments

Leave A Reply

To add a profile picture to your message, register your email address with Gravatar.com. To protect your email address, create an account on BlenderNation and log in when posting a message.

Advertisement

×