Material Study: Enhanced Realism When Creating Condensation via Normal Mapping

Started by bdesign, July 08, 2018, 09:29:04 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

bdesign

While there is no substitute for the accuracy of creating condensation with actual geometry, I think this technique can enhance the realism and the illusion that the droplets are actually water on a surface when creating them via normal mapping. The trick is to map the IOR of the Glass (Solid) material with a black & white map that corresponds to the silhouettes of the normal map droplets. Plug the b&w map > Source of a Color Composite node, and set the Background to black. Plug a Surface Backside Mask > Source of a Color Invert node. Plug the Color Invert node > Source Alpha of the Color Composite node. Plug the Color Composite node > Input of a Color To Number node. Set the Output From value to the IOR of glass (1.52 in my example), and the Output To value to the IOR of water (1.33). Plug the Color To Number node into the Refraction Index of the Glass (Solid) material. This setup manually emulates the Refraction Index/Refraction Index Outside options of the Dielectric and Liquid type materials, with the benefit of being able to map them. Example renders below are:

1. Glass with IOR mapping setup
2. Glass without IOR mapping setup (IOR set at 1.52)
3. Normal map and corresponding IOR map

Coca-Cola glass model from GrabCAD by Ahmed Zawad Ul Hoque Shovon.

Cheers,
Eric

INNEO_MWo

Wow Eric.


You know how to amaze users!


Great job and good tutorial!!!


That made my day. Thank you.






Cheers
Marco

bdesign


DMerz III

Very nice!

Will be even more impressive in 8 when you can utilize the displacement map  ;)


Will Gibbons


feher


bdesign

Quote from: Will Gibbons on July 11, 2018, 04:47:09 PM
Great material study. Nice execution!
Thanks very much, Will! I appreciate you taking a look  :)

Cheers,
Eric

bdesign

Quote from: feher on July 11, 2018, 06:25:43 PM
Very nice ! Thanks for sharing your workflow.
It's a keeper.
Tim
Thank you kindly, Tim! You're welcome  :)

Cheers,
Eric

Hossein Alfideh


INNEO_MWo

Hey Eric.

I'm Pretty sure that you willl LOVE KeyShot 8!!!

Cheers
Marco

bdesign


bdesign

Quote from: MWo on July 16, 2018, 10:44:06 AM
Hey Eric.

I'm Pretty sure that you willl LOVE KeyShot 8!!!

Cheers
Marco
Hey Marco. I'm sure KS8 will be awesome! I haven't even had a chance to play with KS7 yet . . . still on 6.3.

Cheers,
Eric

Will Gibbons

Quote from: bdesign on July 16, 2018, 12:34:23 PM
Hey Marco. I'm sure KS8 will be awesome! I haven't even had a chance to play with KS7 yet . . . still on 6.3.

NOOOOOOOOO!!! You should get on the Beta when it's open (soon)

Despot